Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Server-side XML processing

_paul_wms_
Level 1
Level 1
I have a client using LiveCycle to develop XML Forms which will be submitted to my server. I need to be able to parse the XML data and alter it (for example, to complete the form with data from a DB) before displaying the form again. I understand that if the form is submitted as an XDP, then parsing the XML is trivial. But what about altering it? Is there an API I can use to

i reconstitute

the PDF with altered XML?



Thanks for any help!
0 Replies
pguerett
Level 10
Level 10
The setValue operation allows you to manipulate the xml using XPath statements.
_paul_wms_
Level 1
Level 1
Thanks for your response Paul. I should have been a little more clear in my post. My client use LiveCycle for forms development and processing. But

i my

server is in a separate environment without access to any licensed LiveCycle APIs. So, I'm not sure what "setValue" operation you're refering to.

I'm assuming that if they submit an XDP file to me, I can load and manipulate the form data using any DOM-based Java API I choose. But what about reconstituting a PDF from the modified XDP? Can I do that without LiveCycle?

Thanks again!
pguerett
Level 10
Level 10
Thew setValue is an operation in LiveCycle ...so disregard that comment. Yes you can use any Dom you want to manipulate the DP ..after all it is just XML.



To re-render the form using a modified XDP you can use LiveCycle Forms to do that.
_paul_wms_
Level 1
Level 1
Thanks. Can I do the re-render on

i my

server using a Java API - i.e., without LiveCycle?