XSD schema provided is not the same that is used in examples

Hello, we are evaluating Aspose.Pdf as our new reporting toolkit using the Aspose.Pdf.Generator, but the first thing we noticed is that the provided xsd schema file in
Program Files (x86)\Aspose\Aspose.Pdf for .NET\Xml\Aspose.Pdf.xsd

is definitely not the one used in examples at
http://www.aspose.com/docs/display/pdfnet/Create+a+Hello+World+PDF+Document+using+XML

(e.g. the root element in provided schema is Document, in the example it is Pdf)

Which one is the correct schema to use and where do we find further documentation for the xsd schema.

We use the newest version ( downloaded today)

Best Regards
Roman Taborsky

Hi Roman,

Thanks for contacting support.

The Schema file which comes with current release is based on new Document Object Model where Document class is present under Aspose.Pdf namespace and its used to create as well as manipulate existing PDF files. Please try using the new Schema file and visit the following links for more information on

OK, so I’m confused. The documentation that you’re referring to is in the “Archived” section of the site, so which is the new/current schema? The one with at it’s root, or the one with ???


I’m trying to evaluate Aspose.Net to generate PDFs from XML templates using Generator.Pdf, and having got a proof-of-concept working with the root node I’m now looking at an XSD referring to at the root, with minimal documentation available (asides from what I’ve found in this post)

Some clarity would be appreciated, because evaluating software shouldn’t be this painful.

Edit: to provide additional detail on what I’m trying to achieve.

Hi Peter,

Thanks for contacting support.

The links shared above are related to latest approach of PDF file creation and manipulation and the reason these topics are moved under archive is because we have recently made some structural changes to our documentation module. Furthermore, please note that we recommend using new Document Object Model of Aspose.Pdf for .NET and instead of using legacy Aspose.Pdf.Generator, please use Document class and the XSD is also based on new DOM.