- From: Oleg Tkachenko <olegt@multiconn.com>
- Date: Wed, 18 Jun 2003 13:12:24 +0200
- To: "Dorfschmid, Jürgen" <j.dorfschmid@msh.de>
- CC: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
Dorfschmid, Jürgen wrote: > I'm desperately searching for some solution that seems > to be implementation specific for different XSLT processors. > > I've a XSL stylesheet that contains a single Linefeed character in a > CDATA section (no other characters in brackets). This linefeed is not > translated into the > result textfile (using Oracle Parser v2) unless at least > one other -printable- character stands beside the linefeed. The linefeed > is only translated correctly > if the CDATA contains more than this character. It's by design. Whitespace-only text nodes are stripped from XSLT stylesheet tree by default, unless they are children of xsl:text instruction or some ancestor element has xml:space="preserve" attribute. See XSLT spec for more info. -- Oleg Tkachenko http://www.tkachenko.com/blog Multiconn Technologies, Israel
Received on Wednesday, 18 June 2003 06:09:38 UTC