Re: [xsl] cvs output???

Subject: Re: [xsl] cvs output???
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 13 Feb 2002 15:23:09 -0000
try here

http://www.dpawson.co.uk/xsl/sect2/N1755.html

remember your output should be text

i.e. <xsl:output method="text"/>

essentially u will want to either apply an xsl:for-each or more
appropriately use a template to match data

<test>
<data>1</data>
<data>2</data>
<data>3</data>
<data>4</data>
</test>


<xsl:output method="text"/>

<xsl:template match="test">

<xsl:apply-templates select="data"/>
</xsl:template>

<xsl:template match="data">
<xsl:value-of select="node()"/>,
</xsl:template>


notice the comma

i havent tested this, but something like this should work

cheers, jim fuller


----- Original Message -----
From: "Meltem Kogelbauer" <meltem.kogelbauer@xxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, February 13, 2002 3:20 PM
Subject: [xsl] cvs output???


>
> Hey All
>
> I am transforming XML with XSL to output HTML. At the same time I need to
> transform the same XML into cvs format. Could some one tell me how to do
> this?
>
> cheers
>
> Meltem
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread