Highlighted

Extracting and Importing XML Data Using a Document Form

JoshDBoyle-DVzR

13-11-2008

All



As the title suggests, I'm simply looking for the correct method by which to extract XML data from a Document Form and to import that data back. I am aware of the exportData and importData services available to me but have been unsuccessful in configuring them properly to get the data from the form.

Replies

Highlighted

Aditya_S_

13-11-2008

Try extracting it as a document variable. If you want to reuse the data through XPATH, use a SetValue to set the document to xml.



/process_data/xml = /process_data/@document



If you want import the data back to a documentform, set the document to documentform/object/@document



/process_data/documentform/object/@document = /process_data/@document



This worked for me.
Highlighted

Avatar

Guest

13-11-2008

you would need to use the processFormSubmission. this takes in the document, which is inside the documentForm variable,set the other properties notable pdfToXdp = true

you should get the form data in xml format

let me know if you need any help on this, I have a process some where on my laptop

girish

mergeandfuse@gmail.com