469,271 Members | 1,607 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

produce a newline for text output in XSLT

I want to generate text output from XML using XSLT. The question is how to
produce a newline? When I produce HTML as output, I have no problems.
But when I attempt to produce text, all data is append together.

please help. thanks!!
Jul 20 '05 #1
2 17215
> I want to generate text output from XML using XSLT. The question is how to
produce a newline? When I produce HTML as output, I have no problems.
But when I attempt to produce text, all data is append together.

please help. thanks!!

Hi,

You could insert this whereever you need a newline to be outputted:
<xsl:text>
</xsl:text>
regards,
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-v...i?userid=38041)
Ceterum censeo XML omnibus esse utendum
Jul 20 '05 #2


Matt wrote:
I want to generate text output from XML using XSLT. The question is how to
produce a newline? When I produce HTML as output, I have no problems.
But when I attempt to produce text, all data is append together.


<xsl:text> </xsl:text>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jürgen Holly | last post: by
2 posts views Thread by Martijn van Exel | last post: by
reply views Thread by Electric Co. | last post: by
1 post views Thread by linq936 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.