[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] codepoints-to-string for new line


Subject: Re: [xsl] codepoints-to-string for new line
From: Liam R E Quin <liam@xxxxxx>
Date: Sun, 08 Sep 2013 22:17:05 -0400

On Sun, 2013-09-08 at 21:21 +0100, Philip Fearon wrote:

> To compound this issue, editors still don't have pretty print systems
> that properly indent new-line attributes and their multi-line contents
> (I'm more than happy to be corrected on this rather sweeping
> statement).

XML attributes don't actually contain newlines - the parser turns them
into spaces. Having said that, yes, preserving the newlines in XSLT
input would be helpful, but it's expecting too much.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


Current Thread
Keywords