These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Regarding : Binding XML schema to already existing fom fields

Deepima
Registered: Jan 8 2007
Posts: 4

Hi! Thanks for ur reply. I created a data connection to bind a XML schema to the form. But I'm facing a problem here. The schema has a root node and a child node with two attributes. One attribute will be the ID of the field and the other will be the value in the field. Once I create a data connection, the data palette shows only one child node along with the attributes. Now even if I try to bind the single child node to multiple fields on the form, the XML generated has only one child node with the value for the last field only. So how do I generate an XML which has multiple child nodes corresponding to each form field.
 
Ur help will be appreciated!!
TIA!!

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Unfortunately XFA form schemas are not this flexable. You get one name/value pair for each form field, bound to one XML node, where the XML node's name is the field binding name and the contents of the XML node is the field's value. Multiple XML nodes with the same name represent multiple instances of the field on the form. That's pretty much it. Read the XFA Specifcation, itdescribes the XFA binding stategy.

[url=http://partners.adobe.com/public/developer/xml/index_arch.php]http://partners.adobe.com/public/developer/xml/index_arch.php[/url]

Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://partners.adobe.com/public/developer/en/acrobat/sdk/
pdf/javascript/AcroJS.pdf]Acrobat JavaScript Reference[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script