With the Aloaha PDF Saver API Version it is possible to export the formdata to XML.
To be able to access the functions please create the object.
set PDF = createobject("aloahapdf.edit")
Then you need to load the PDF File into the Memory.
If PDF.load_pdf_to_mem(cstr(c:\form.pdf)) = true then
msgbox "Form loaded to memory"
if PDF.FormFields>0 then
msgbox "PDF is Form"
msgbox "PDF is not a Form"
msgbox "Could not load Form to memory"
Now call the export Function
if PDF.export_formdata(cstr("c:\formdata.xml")) <> "" then
msgbox "PDF Export OK"
msgbox "PDF Export Failed"
In some cases it might be more suiteable to retrieve the formdata directly as string
XMLSTRING = PDF.export_formdata("")
Now please clean up the memory and call unload_pdf_from_mem
Although we really tried hard, there are always questions left open.
Please send us your question. We would be glad to answer it.