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
On 09-09-2005 7:00 AM, Arthur Maloney wrote:
Hello xsl-list,
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
<CsvFileName>
<fieldName1>...</fieldName1>
...
</CsvFileName>
Ideally C# but Java will do.
--
Sincerely,
Tony Lavinio
Stylus Studio Principal Software Architect
http://www.stylusstudio.com/
--~------------------------------------------------------------------
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>
--~--