Hi Adarsh,
Only the get functions have been implemented for the DOM API objects in GatewayScript. Your two choices are
1) Convert your XML to a string using XML.stringify(inputXMLRequest) and use string manipulation
2) Use the transform.xslt async function to execute an xsl stylesheet that would update the XML and return the result.
I'd suggest you open a request for enhancement for the XML DOM create, update, and delete functions within GatewayScript.
Best Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------