How to Set Text for a Node

ArasModules.xml.setText sets the text for an XmlDOMDocument object node.

The function takes the following arguments:

  • xmlNode – a validXmlDOMDocument object’s node.
  • nodeValue – The value to be inserted into the node.

...
ArasModules.xml.setText(xmlNode, ‘sample’);
...