This article is organized by Programming Notes# for everyone. It mainly introduces the knowledge related to csharp such as -CSHARP-GroupDocs.AssemblyExamples-GenerateReport-GenerateInTableListFromXMLinOpenPresentat. I hope it has certain reference value for you.
// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
//Setting up source open presentation template
const String strPresentatiOnTemplate= "Presentation Templates/In-Table List_XML_OpenDocument.odp";
//Setting up destination open presentation report
const String strPresentatiOnReport= "Presentation Reports/In-Table List_XML Report. odp";
try
{
//Instantiate DocumentAssembler class
DocumentAssembler assembler = new DocumentAssembler();
//Call AssembleDocument to generate In-Table List Report in open presentation format
> assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strPresentationTemplate), CommonUtilities.SetDestinationDocument(strPresentationReport), DataLayer.GetAllDataFromXML(), "ds");
}
catch (Exception ex)
{
Console .WriteLine(ex.Message);
}