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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Extracting Form Data as XML
  FAQ FAQ  Forum Search   Register Register  Login Login

Extracting Form Data as XML

 Post Reply Post Reply
Author
Message
shree_kotekar View Drop Down
Beginner
Beginner
Avatar

Joined: 07 Sep 10
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote shree_kotekar Quote  Post ReplyReply Direct Link To This Post Topic: Extracting Form Data as XML
    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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 09 Sep 10 at 6:40AM
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


Back to Top
tpegley View Drop Down
Beginner
Beginner


Joined: 13 Feb 11
Location: 225
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote tpegley Quote  Post ReplyReply Direct Link To This Post Posted: 20 Feb 11 at 5:17PM
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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 20 Feb 11 at 7:05PM
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store