Conversion

Will i able to convert pdf file to xml using aspose?

Hi,


Thanks for your interest in our API’s.

In order to accomplish your requirement, please try using following code snippet.

[Java]

//Load
source PDF file
<o:p></o:p>

com.aspose.pdf.Document doc = new com.aspose.pdf.Document("d:\\document.pdf");

//Save output in XML format

doc.save("d:\\outFile.xml", com.aspose.pdf.SaveFormat.MobiXml);


For specific details, please visit the following link for more information on PDF to XML conversion.