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

Re: [xsl] csv data to xml


Subject: Re: [xsl] csv data to xml
From: henry human <henry_human@xxxxxxxx>
Date: Tue, 25 Jun 2013 14:28:01 +0100 (BST)

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


Current Thread
Keywords
xml