We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pdf to Xml COnversion

Hi,

I need to convert pdf to xml but when i convert my pdf then it only create a blank xml file .

Document doc = new Document(“input.pdf”);

doc.saveXml(“output.xml”);

I am using trial version only. Can anyone help me to resolve this ?

Hi there,

Thanks for your inquiry. Please note you need to use SaveFormat.MobiXML instead saveXml for existing PDF document, please check documentation link for PDF to XML conversion for details. The XML schema corresponds to the ebook MobiXML standard: http://www.mobipocket.com/dev/pdf2xml/. The saveXML method is used to create XML template of a new PDF, that can be used forh XML to PDF conversion.

Furthermore, you may request for 30 days temporary license to evaluate our product without any limitation.

Please feel free to contact us for any further assistance.

Best Regards,