interpreting newlines xsl:text?
i have an xsl stylesheet calm an xsl:text node this:
<xsl:text>
foo
bar
baz
</xsl:text>
the stylesheet itself calm record "unix-style" newline line terminators. i plead stylesheet windows good unix-like platforms. good have cost heed conventions height invoked.
when i run stylesheet windows, cost carriage return/newline pairs all except essence xsl:text node.
can i sight xslt processor interpret newline characters calm xsl:text node height specific end-of-lines?
more context: i'm invoking stylesheet this:
<xslt in="in.xml" out="out.xml" style="stylesheet.xsl"/>
the stylesheet header now looks this:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/xsl/transform"
xmlns:xalan="http://xml.apache.org/xslt"
exclude-result-prefixes="xalan">
<!-- essence elided -->
</xsl:stylesheet>
Comments
Post a Comment