xsl-list
[Top] [All Lists]

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

2008-05-15 11:07:08
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--