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

Free Support Forum - aspose.com

Lost PDF field names after conversion to XML

Hi,

I am using Aspose.PDF for .Net 10.5 (latter version not possible due to license only valid for version up to Jul 08 2015) to convert a given PDF form document containing many named fields to an XML using the following code:
var license = new License();
license.SetLicense(@“C:\Projects\EAakte\trunk\src\Core\Misc\Licenses\Aspose.Total.lic”);
// Load source PDF file
var doc = new Document(@“C:\Temp\Import.pdf”);
// Save output in XML format
doc.Save(@“C:\Temp\Import.xml”, SaveFormat.MobiXml);

Unfortunately the output XML doesn´t contain any of the given field names in the PDF form.

Is there any possibility to avoid losing that information?
It is needed for assignment later on.

Can you support/help?
Attached you can find a sample PDF file.

Thanks,
Marcel

Hi Marcel,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for .NET 11.0.0 and noticed that form fields are missing. For further investigation, I have logged an issue in our issue tracking system as PDFNEWNET-40010 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

<span style=“font-size:10.0pt;line-height:115%;font-family:“Arial”,“sans-serif”;
mso-fareast-font-family:Calibri;color:#333333;mso-ansi-language:EN-US;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>Best Regards,