[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: cvs output???

Subject: Re: cvs output???
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 13 Feb 2002 15:23:09 -0000
cvs output
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.