xsl-list
[Top] [All Lists]

Re: [xsl] csv data to xml

2013-06-25 08:31:44

On 25 Jun 2013, at 14:01, Louis-Dominique Dubeau wrote:

On Tue, 2013-06-25 at 13:46 +0100, henry human wrote:
How get this csv data to xml using xslt:

[.. snip ...]

Based on what you say in your post about your problem, I would not use
XSLT for this. I'd use python, perl, sed, awk or something similar 

Why?

I saw a post on StackOverflow yesterday from someone making the same 
recommendation; he supplied the Python code, and it output the XML without 
bothering to escape special characters. No wonder we see such a lot of bad XML 
when people try to process it without using the proper tools.

XSLT is ideally suited for this task.

Michael Kay
Saxonica


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>