By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,868 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

produce a newline for text output in XSLT

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
> 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

P: n/a


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.