Re: [xsl] <xsl:copy-of select="." /> removes (or converts) line breaks in text of child nodes.

Subject: Re: [xsl] <xsl:copy-of select="." /> removes (or converts) line breaks in text of child nodes.
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 15 May 2008 18:00:08 +0200
John Ericson wrote:

I think you are encountering line break normalization the XML parser does.

I use Saxon 9.0.0.4N to XSL transform. Thanks for reading!

Do you use Saxon .NET from the command line? Or do you use the .NET API? In the latter case you might be able to avoid the normalization by passing in an XmlTextReader with Normalization set to false to the DocumentBuilder.Build method.



--


	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread