Subject: Re: [xsl] Line feed in xalan, disappears From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 17 Nov 2012 10:47:27 +0000 |
Hello all, I am having an odd issue and has been stuck on it for some time. I am maintaining one of the existing xslts, that produces html. The resulting text, is concatenated where there's a line feed (x0A). for for example if I have in my xml:
<message>I love xslt</message>
and in my xslt: <xsl:value-of select="message" />
Then the results is:
I lovexslt
The result doesn't have space or line feed. The xslt is applied through the JSTL <x:transform>.
Thank you all.
XSLT doesn't do that so one of these is probably the case but impossible to say which:
* There is some other code in your XSLT that you haven't shown that strips the white space.
Start with a stylesheeet that _just_ does what you showed, if that doesn't drop the space, gradually add things from your actual stylesheet until things break....
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Line feed in xalan, disappear, Mansour Al Akeel | Thread | Re: [xsl] Line feed in xalan, disap, Michael Kay |
[xsl] Line feed in xalan, disappear, Mansour Al Akeel | Date | [xsl] Hanging regex, Ihe Onwuka |
Month |