-
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.
-
Re: How to create CSV file from XML using XSLT?
See the comman <xsl utput> 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.
-
Re: How to create CSV file from XML using XSLT?
Thanks.
"Russell Jones" <arj1@northstate.net> wrote:
>See the comman <xsl utput> 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
Forum Rules
|
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
|
Bookmarks