


How do I specify the Location within an XML variable so that the XML selected by the expression will append this data?
I tried /process_data/TestXML/*/*[last()] as Location, but that replaced the selected node, not appended after.
Views
Replies
Sign in to like this content
Total Likes
Hi,
Views
Replies
Sign in to like this content
Total Likes
Thanks, but there might already be a node called testXML/test/field4 that I then would replace. I need to insert a new one without replacing any old ones. Does that explenation make sese?
Views
Replies
Sign in to like this content
Total Likes
Thanks, but there might already be a node called testXML/test/field4 that I then would replace. I need to insert a new one without replacing any old ones. Does that explenation make sese?
Views
Replies
Sign in to like this content
Total Likes
Bjorn, if you want to insert nodes, then I'd recommend going straight to the script component, or alternatively create your own custom DSC JAR that allows you to insert, and remove nodes. If you do know how many nodes you have in your XML, adding a node via /VariableName/NodeName[1] will create a new node for you. Again, custom DSC will allow you much more flexibility when it comes to manipulating XML.
Views
Replies
Sign in to like this content
Total Likes