|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Converting CSV file to XML file Using XSLT
In XSLT 2.0 you can: * use unparsed-text() to read the non-XML text file * use tokenize() to split it into lines * use xsl:analyze-string to parse each line and generate XML output. For an example that tackles a rather more complex problem, but includes all the techniques needed to solve this one, see http://www.idealliance.org/proceedings/xml04/papers/111/mhk-paper.html Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Lakshmi narayana [mailto:lchintala@xxxxxxxxxxxx] > Sent: 21 July 2005 11:23 > To: XSL (E-mail) > Subject: Converting CSV file to XML file Using XSLT > > > Hi List, > > Is it possible to convet a file which is in CSV format to XML > file using > XSLT. > If possible, can any one give me the example in XSLT to > convert CSV file to > XML. > > Thanks, > Laxmi Narayana
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








