RE: [xsl] xsl-list@lists.mulberrytech.com

Subject: RE: [xsl] xsl-list@lists.mulberrytech.com
From: "James Fuller" <james.fuller@xxxxxxxxxx>
Date: Wed, 7 Aug 2002 18:22:38 +0100

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Amanda
> Birmingham
> Sent: 07 August 2002 17:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 
> 
> Hello, List,
> I have been asked to add a feature to our web application that will 
> transform our XML into tab-delimited text data, displayed in a 
> new window, 
> so that the user can then save it for later use in that 
> format.  Unfortunately, I am currently limited to what can be done with 
> MSXML 2.5 (been told we have to support IE5 without any upgrades to the 
> parser).
> 
> Although I've done a lot of XML-to-XML and XML-to-HTML transformations, 
> I've never done XML-to-text before.  Can anyone direct me on how I would 
> (a) cause tabs to appear in the output, and (b) cause linebreaks 
> to appear 
> in the output?

remember to use <xsl:output method="text"/>

goto www.dpawson.co.uk XSLT FAQ and read up on text output

there is a xml to csv example there I believe

gl, jim fuller

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread