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

Free Support Forum - aspose.com

Convert xml to PDF

Hi,

Is it possible to convert xml template to PDF document using PDF.KIT.

Thanks

Mamatha

Hi,

Can someone please respond to it? I know that Aspos.PDF version is used to generate PDF file from scratch. And PDF.kit is used for editing them. But in the key features it says.

  • Import or export PDF form data to XML, FDF or XFDF
  • Does that mean we can use XML template for PDF generation using Apose.pdf.kit?

    Thanks

    Mamatha

    Hi Mamatha,


    As per your understanding, Aspose.Pdf.Kit for Java supports the feature to import XML/FDF/XFDF data into PDF form or it provides the leverage to export PDF form data into XML/FDF/XFDF format. Please note that XML file being used for data import must have same form field names as specified in the template PDF form to which the data is being imported. Also the exported XML file only contains data and it might not be directly used for conversion into PDF with the help of Aspose.Pdf for Java.


    When using Aspose.Pdf for Java to convert an XML file into PDF format, please ensure that the source XML file is compatible with Aspose.Pdf Document Object Model (DOM). However you can use XSLT to make your XML file compatible with Document Object Model of Aspose.Pdf. For more information, please visit the following links


    In case I have not properly understood your requirement or you have any further query, please feel free to contact.