RE: [exslt] question about newline in xslt
by Michael Kay other posts by this author
Mar 4 2002 8:25AM messages near this date
[exslt] question about newline in xslt
|
[exslt] using EXSLT with Saxon
Perhaps you were outputting HTML? If you want a newline that is visible in
the document as displayed by the browser, you should output <BR/> .
Outputting <xsl:text> 
</xsl:text> should give you a newline in the
generated file, but this is displayed as a space by an HTML browser.
Michael Kay
Software AG
home: Michael.H.Kay@[...].com
work: Michael.Kay@[...].com
> -----Original Message-----
> From: exslt-admin@[...].com
> [mailto:exslt-admin@[...].com]On Behalf Of Michelle yuan
> Sent: 04 March 2002 08:04
> To: exslt@[...].com
> Subject: [exslt] question about newline in xslt
>
>
> Hello,
>
>
> I am beginning learner of xslt, and I have trouble
> with newline charater in xslt transform stylesheet. I
> put code:
>
> <xsl:text> 
 
 </xsl:text>
>
> It did not give me newline or CR in output at all.
> I wonder how I have to do to get it works. Thanks!
>
>
>
> Michelle
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - sign up for Fantasy Baseball
> http://sports.yahoo.com
> _______________________________________________
> exslt mailing list
> list@[...].org
> http://www.exslt.org/list
>
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Michelle yuan
Michael Kay
|