A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
XML to text rendering
Joined: Jan 28, 2004
Jul 15, 2004 01:41:00
I have an XML file and I'd like to convert it to a text output with XSLT.
Consider the following:
<subject> Re: XSLT Help!! </subject>
<body>Can you guys help me out???</body>
I'd like to have this in the following format in text!
Re: XSLT Help!!
Can you guys help me out???
My limited knowledge of XSLT can only output the data in a single line.
Can someone advice as to how I'd be solving the problem???
Joined: Jan 23, 2002
Jul 19, 2004 08:24:00
Use the <xsl:text> element to output a newline character when appropriate.
Effective Unit Testing
I agree. Here's the link:
subject: XML to text rendering
XML to Text with XSLT
xsl:include replaces previous defined xsl:template?
use tiles to configure a "deep" layout
HELP with tiles
Group By Question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014