Hi Community,
Situation: XFA Form making a Search Request:
1) I have a LC process that has an 'output' variable of type XML.
2) The XML contains repeating elements
3) The XFA form, makes a webservice call to the LC Process and stores the XML response ('search results') in a hidden text field.
4) I want to use this XML now to load a small section of the form (table) with the 'search results'
I am familiar with this method:
- xfa.datasets.data.loadXML(tfRespXML.rawValue, 0, 1);
However this re-loads the ENTIRE form with the XML
and unfortunately .loadXML() doesn't work on subforms/nodes!?!
--> Passing the entire form XML up and getting the entire form XML + search results as a response is also not an option.
Question:
1) Im very interested to know what, in your opinion, is the most convenient way to handle complex XML in a LC Form using Javascript?