This content has been marked as final. Show 6 replies
You have to put the data under the data node of the xfaForm variable.
ok ! I still get the error.
I used the set value to assign the XML to xfaForm
When I view the form, I get "An error occurred creating the form" error in Workspace.
Jasmin - I tried to assign a sample xml I created from LiveCycle Designer and it worked just fine.
I guess the output from the SQL query is not compatible with the xfaForm variable.
How can I conver XML data ?
You just need to make sure the xml coming from the DB matches the xml the forms is expecting. If you use a schema then the data has to follow the schema.
If not, then the structure should follow the structure of your sample xml file.
The XML does match the form. I used the same output via RenderPDF to a documentForm variable(same form) and it worked just fine.
However in my situation, I need to use xfaForm.
I think there are xdp and xfa tags in the xml which make it compatible.
Do you have a working sample ?
Jasmin - I now understand what you are suggesting after reading a related topic http://www.adobeforums.com/webx?128@@.59b6f70e
I used a SetValue to assign the xml to the same level in the xfaForm.
Thank you for helping.