Subject: Re: Transforming XML to CSV
From: "Eric Bréchemier" <eric.brechemier@xxxxxxxxx>
Date: Thu, 10 Jan 2008 12:31:23 +0100
|
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 Brichemier
On Jan 10, 2008 12:08 PM, Adam Lipscombe <adam.lipscombe@xxxxxxxxxx> 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
|