[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: csv data to xml
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 25 Jun 2013 14:15:02 +0100
> 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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member