2

Closed

Converted CSV file has quotes for each row

description

I used this method in the documentation
 
public void ConvertUsingDataSet()
{
var converter = new XmlToCsvUsingDataSet(@"C:\Payslip.xml"); var context = new XmlToCsvContext(converter);
 
foreach (string xmlTableName in context.Strategy.TableNameCollection)
{
context.Execute(xmlTableName, @"C:\" + xmlTableName + ".csv", Encoding.Unicode);
}
}
 
It creates the csv file but I see ""A","B","C"" instead of "A","B","C".
Is it possible to just have A,B,C ?
Closed Aug 31, 2013 at 10:36 PM by timmytimeless

comments

timmytimeless wrote May 17, 2012 at 6:24 AM

Hi Kaitlyn, could you please attach a copy of the XML file you try to convert, I cannot replicate the issue here.

Thanks, Tim.

wrote May 17, 2012 at 6:34 AM

wrote May 17, 2012 at 6:34 AM

wrote Feb 22, 2013 at 12:04 AM

wrote Aug 31, 2013 at 10:36 PM