Hi i'm new when it comes to use aspose, and I want to make a function that take a xml object and return a pdf file, also I understand that aspose use an specific schema for the xml files (TextFragment and etc..), so im worried it may not work If I pass an xml file that dont follow that schema, here a I left a little basic structure of a function to illustrate what im trying to do.
public Document getPdfByXml(Document documentXml) {
Thanks for contacting support. Can you please visit documentation article Generated PDF from XML. This will help you to achieve your requirements. Please share feedback with us if there is still an issue.