Alternatives to CSV file for Merge Field list

In our application we had previously been passing in a data table to Aspose. The document template is created by importing a CSV that contains the fields. We are now changing the app to where we pass in an XML file for the merge. We are doing this so that we can take advantage of child data by using the <TableStart:Object><TableEnd:Object> tags. However we do not know how to get a CSV that contains the child data tags used to add the fields to the template. Any help will be greatly appreciated.

Hi Jason,

You can use the following code to load XML into a data table. dataSet.Table[0] will give you the Object table in this case.

DataSet dataSet = new DataSet();

dataSet.ReadXml("Sample.xml");

Best Regards,