[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: csv data to xml
Thanks for tip with tockenizer , etc and for the link . I will do some tes with both. @ regarding data, it comes form JMS queue (not as EXCEL) ----- Urspr|ngliche Message ----- Von: Andrew Welch <andrew.j.welch@xxxxxxxxx> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx CC: Gesendet: 15:15 Dienstag, 25.Juni 2013 Betreff: Re: csv data to xml > Use unparsed-text() to read the csv, then use tokenize() to split it > into lines, iterate over each line outputting a <Segment>, then > tokenize() the $line into $tokens, and use fill-in-the-blanks style to > populate the elements. Basically this: http://andrewjwelch.com/code/xslt/csv/csv-to-xml_v2.html -- Andrew Welch http://andrewjwelch.com/
|
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
|