[xsl] CSV to XML

Subject: [xsl] CSV to XML
From: Arthur Maloney <ArthurM@xxxxxxxxxx>
Date: Fri, 9 Sep 2005 12:00:35 +0100
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.
-- 
Best regards,
 Arthur                          mailto:ArthurM@xxxxxxxxxx

Current Thread