[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] csv data to xml


Subject: Re: [xsl] 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