produce a newline for text output in XSLT

M

Matt

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!!
 
M

Martin Honnen

Matt said:
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>
 
J

Joris Gillis

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top