[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Transforming XML to CSV

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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.