Free Support Forum -

Basics of Pdf


I have been playing around with the aspose.Pdf product and have a few questions.
I use VS2003 & SQL2000.

I have been trying the basic examples with xml.
The only way I can get it to work is by using a xml file formatted as stated in the examples. If I call on to generate an xml file from a dataset the pdf examples does not work.

how do I overcome this issue?
Does aspose.pdf generate xml files from datasets that it can read?


Dear Ceaig,

Thank you for considering Aspose.

Please make sure the xml you generated :

1) cab be loaded correctly by .Net;
2) match the Aspose.Pdf’s xml format;

You can save your xml to a file and see if it is correct.

My xml file is below. What format changes do I make to it so that aspose.pdf will read it.
I am not very proficient with xml. this is the xml file that my generates.

<?xml version="1.0" standalone="yes"?>
<Product>Semo </Product>
<Sample>Bulk Outloading </Sample>
<Code> </Code>
<Bin> </Bin>
<Invoice>O1011398 </Invoice>
<Customer>Rinoldi </Customer>


Dear Craig,

Thank you for considering Aspose.

Your xml does not match Aspose.Pdf’s format. You need to write a XSLT file to transform it. Please refer to Hello World - XML and XSLT.