Load XML document with options

GroupDocs.Conversion provides XmlLoadOptions to give you control over how source xml document will be processed. The following options could be set: 

Convert XML as data source to spreadsheet

The following code sample shows how to use XML as data source and convert it to spreadsheet:

using (Converter converter = new Converter("data.xml", () => new XmlLoadOptions
{
    UseAsDataSource = true
}))
{
    SpreadsheetConvertOptions options = new SpreadsheetConvertOptions();
    converter.Convert("converted.xlsx", options);
}

More resources

Examples and Demos

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!