How to Create a List of Nodes

ArasModules.xml.selectNodes selects a list of nodes that match the query. It functions identically to the standard XmlDOMDocument.selectNodes(xPathString).

The function takes the following arguments:

  • xmlDocument – a valid XML document.
  • nodeName – the name of a node in the xmlDocument.

...
let xmlNodes = ArasModules.xml.selectNodes(xmlDoc, ‘sample’);
...