xsl-list
[Top] [All Lists]

Re: [xsl] Transforming XML to CSV

2008-01-10 04:31:51
  Hi Adam,

for CSV output, you would typically use
<xsl:output method="text" encoding="UTF-8" />
instead of <xsl:output method="xml" encoding="UTF-8" />
to produce text with UTF-8 encoding.

You may want to run an intermediate transformation,
- to create first XML with a structure similar to your CSV,
- then transform this "XML CSV" to "Text CSV"

Best Regards,

Eric Bréchemier

On Jan 10, 2008 12:08 PM, Adam Lipscombe 
<adam(_dot_)lipscombe(_at_)qucs(_dot_)co(_dot_)uk> wrote:
Folks


Firstly apologies if this a no-brainer, I am an XSL beginner.


We have an XML output file that we need to convert into CSV for some 
customers.

Can this be done with a Transform?
Are there any good examples of how one might approach it?


Thanks - Adam




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>