Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Extracting Form Data as XML |
Post Reply ![]() |
Author | |
shree_kotekar ![]() Beginner ![]() ![]() Joined: 07 Sep 10 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 09 Sep 10 at 12:41AM |
Hi,
I am trying to extract the XFA form fields data as a XML data. Is there any built-in function that can do this? Somewhat similar to FDF format. Entire data in a XML formatted sting. Is this possible? |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Shree!
There's no supporting function for this case in QuickPDF. But this doesn't matter 'cause it's no problem to do it by yourself. I've done it, too. Load the relevant pdf into a string. Check the content if there's a "<rdf:". If not then there's no xml-content. If yes then check for "<rdf:RDF" as the starting position and for "</rdf:RDF" as the ending position. The content between is your relevant xml-content. Now check for the relevant xml-syntax building the content tree. At least put the extracted/built content into a txt-file or the clipboard. That's it ;-) Cheers, Ingo |
|
![]() |
|
tpegley ![]() Beginner ![]() Joined: 13 Feb 11 Location: 225 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
Hi Ingo,
I am trying to do the opposite - injecting XML into a Dynamic form. Have you managed to do that too? If so do you have a code sample you could share please? This is what I am trying to achieve... 1. I have some Dynamic XML forms designened with the LiveCycle Designer. 2. The users completes the form and submits the XML via email. 3. We want to pick up the XML and inject it back into a form. 4. We'd then flatten the form and send it back as a confirmation. Thanks in advance Trev |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Trev!
I've didn't try the opposite (rdf into pdf). I can only suggest: Take notepad, search for "<rdf:RDF", have a look on the pdf-tags before and after. Sorry... not much ;-) Cheers, Ingo |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store