How to create CSV file from XML using XSLT?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to create CSV file from XML using XSLT?

Hybrid View

  1. #1
    mdraznin Guest

    How to create CSV file from XML using XSLT?


    I want to create flat files in different formats from same XML document, for
    example one should be comma separated, other tab separated, etc. I can write
    a parser for every format I need, but would prefer to use XSLT, although
    I'm not sure that it is possible. All I can find so far is how to translate
    XML to XML or XML to HTML. Any help or ideas will be greatly appreciated.

    Thanks.

  2. #2
    Russell Jones Guest

    Re: How to create CSV file from XML using XSLT?

    See the comman <xslutput> one of the method attributes values is "text".

    Russell Jones
    Sr. Web Development Editor,
    DevX.com

    "mdraznin" <mdraznin@myto.com> wrote in message
    news:3b74436c$1@news.devx.com...
    >
    > I want to create flat files in different formats from same XML document,

    for
    > example one should be comma separated, other tab separated, etc. I can

    write
    > a parser for every format I need, but would prefer to use XSLT, although
    > I'm not sure that it is possible. All I can find so far is how to

    translate
    > XML to XML or XML to HTML. Any help or ideas will be greatly appreciated.
    >
    > Thanks.




  3. #3
    mdraznin Guest

    Re: How to create CSV file from XML using XSLT?


    Thanks.
    "Russell Jones" <arj1@northstate.net> wrote:
    >See the comman <xslutput> one of the method attributes values is "text".
    >
    >Russell Jones
    >Sr. Web Development Editor,
    >DevX.com
    >
    >"mdraznin" <mdraznin@myto.com> wrote in message
    >news:3b74436c$1@news.devx.com...
    >>
    >> I want to create flat files in different formats from same XML document,

    >for
    >> example one should be comma separated, other tab separated, etc. I can

    >write
    >> a parser for every format I need, but would prefer to use XSLT, although
    >> I'm not sure that it is possible. All I can find so far is how to

    >translate
    >> XML to XML or XML to HTML. Any help or ideas will be greatly appreciated.
    >>
    >> Thanks.

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center