Forum Discussion

M_McDonald's avatar
M_McDonald
Super Contributor
13 years ago

Re: Insert XML fragment into request object

Actually the requestXml XmlSlurper object has the whole request, and you can navigate to whatever node you need, for example:

requestXml.toplevel.nextlevel.updateRequest.appendNode( toAddXml.reference )

So you have the whole request to do the replace with. Unless I've misunderstood.
No RepliesBe the first to reply