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:output> 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:output> 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.
>
>