DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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.

    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links