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

Re: convert xml file to flat file using XSLT or ASP

Subject: Re: convert xml file to flat file using XSLT or ASP
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Fri, 24 Aug 2001 12:32:47 +0100
asp flatfile
going from xml to text is much easier then the reverse

<xsl:output method="text"/> to instruct the parser not to output xml based
stuff.

here is a comma delimeted list

xsl snippet

<xsl:output method="text">
<xsl:template match="/">
<xsl:for-each select="//asset">
<xsl:value-of select="node()"/>,
</xsl:for-each>
</xsl:template>

xml snippet

<resource>
<asset>1</asset>
<asset>2</asset>
<asset>3</asset>
<asset>4</asset>
</resource>

http://www.dpawson.co.uk/xsl/sect4/N10096.html
look here for example

cheers, jim fuller
----- Original Message -----
From: "Gurnandan Kaur" <teclioness@xxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, August 24, 2001 12:18 PM
Subject:  convert xml file to flat file using XSLT or ASP


> Hi
>
> Is there any way I can convert XML file to flat file.
> We are using windows NT and so COM components.
>
> Thanks in advance
>
> Guru
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
>  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.