Subject: Re: [xsl] CSV to XML|
From: Tony Lavinio <xml1@xxxxxxxxxxx>
Date: Fri, 09 Sep 2005 19:23:20 -0400
In addition to some of the other fine products mentioned here, Stylus Studio has a tool for converting many types of non-XML files, including CSV files, to XML.
This converted data can optionally be pipelined through either XSLT 1, XSLT 2 or XQuery as well.
See http://www.stylusstudio.com/convert_to_xml.html for details.
Three video tutorials on this subject are also available at http://www.stylusstudio.com/learn_convert_to_xml.html
A 30-day eval copy of Stylus Studio can be downloaded from http://www.stylusstudio.com/xml_download.html
Prior to transform, I would like to convert some CSV files to XML
e.g. row 1: fieldName1,fieldName2,fieldName3,... ... row n: fred,67.8,I love XSLT2.0,...
does anybody have any example code for converting to an XML file
e.g or as attributes
Ideally C# but Java will do.
-- Sincerely, Tony Lavinio Stylus Studio Principal Software Architect http://www.stylusstudio.com/