Subject: Re: [xsl] Line feed in xalan, disappears From: Chris Wolf <cwolf.algo@xxxxxxxxx> Date: Mon, 19 Nov 2012 10:19:54 -0500 |
Try either this: <xsl:text>I love xslt</xsl:text> ...or this: tran.setOutputProperty( "{http://xml.apache.org/xalan}line-separator" , "\n"); -Chris On Sat, Nov 17, 2012 at 5:13 AM, Mansour Al Akeel <mansour.alakeel@xxxxxxxxx> wrote: > 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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Line feed in xalan, disap, Liam R E Quin | Thread | Re: [xsl] Line feed in xalan, disap, Chris Wolf |
Re: [xsl] analyze-string gotcha/rem, Dimitre Novatchev | Date | Re: [xsl] analyze-string gotcha/rem, Ihe Onwuka |
Month |