Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Adding node(s) to XML process variable

$
0
0

I have a process with an XML variable, i.e.

 

var myXML = <package>

                        <assets>

                            <foo name="A">....</foo>

                            <foo name="B">....</foo>

                            <foo name="C">....</foo>

                         </assets>

                  </package>

 

and I need to add an additional subtree <foo name="D">...</foo> to this variable under /package/assets/.

I am trying to use SetValue but cannot get it to work.

What's the best way to do this?


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>