Thanks for sharing the template file. I would like to share with you that, the input XML file must follow the Aspose.Pdf for .NET Schema but your provided document is not following the XML Schma provided by Aspose. That’s why resultant PDF is blank.
Please check the following documentation links for details.
I have tested the scenario and have observed that the source XML file is in WordML format. In order to convert such documents into PDF format, please try using Aspose.Words for .NET. I have used the following code snippet to convert XML file into PDF format. For your reference, I have also attached the resultant PDF that I have generated with Aspose.Words for .NET 10.5.0.
[C#]
// load the source XML file Aspose.Words.Document doc = new Aspose.Words.Document(“d:/pdftest/GCS94285.xml”); // save the output in PDF format doc.Save(“d:/pdftest/GCS94285.pdf”,Aspose.Words.SaveFormat.Pdf);
Adding more to Rashid’s comments, Aspose.Pdf for .NET supports the feature to convert XML file into PDF format but the source XML file must be in Aspose.Pdf for .NET compatible format (according to Document Object Model).
In case you need to convert your own XML file into PDF format, then please try using the XSLT to make it compatible with Aspose.Pdf. In case you have any further query, please feel free to contact.</font>