Copy link to clipboard
Copied
Please help - trying to create action button on PDF page - need to export form data to XML not FDF
exportAsXML(); - nothing happens ...
exportAsFDF(); - exports OK but cannot import to my Excel XML map/scheme
Copy link to clipboard
Copied
exportAsXML doesn't work because it doesn't exist.
You can export to XFDF file (using exportAsXFDF), which is an XML representation of the form data.
Copy link to clipboard
Copied
thanks for your trouble, but I can only import XML not XFDF into my MS-Excel schema/map
currently I have to go to Acrobat's menus - More Form Option --> Export Data --> select XML as type
a bit cumbersome for my office staff
was hoping for a javascript that does the same
Copy link to clipboard
Copied
There's no built-in function that does that, but you can write one...
Copy link to clipboard
Copied
not my forte, thanks, hopefully someone will save the day
Copy link to clipboard
Copied
Take a look here, it mentions a package named XFDF2XL, which seems to do what you need. Look for message #12:
Re: Export PDF form data to Excel?
I’ve not used it, don’t know anything about it, but it came up in a Google search.
Copy link to clipboard
Copied
You should be able to convert XFDF to whatever flavor of XML Excel expects with some XSLT transforms.