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

RE: [xsl] codepoints-to-string failing on spaces


Subject: RE: [xsl] codepoints-to-string failing on spaces
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 22:32:09 +0100

> Interestingly adding <xsl:preserve-space elements="name"/> at 
> the top of the stylesheet did not work. However adding 
> xml:space="preserve" to the <char> element did.


Sounds like you're using a Microsoft parser. They throw away the whitespace
before the XSLT processor gets a chance to say "I need that!".

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords