Aras Innovator Platform

How to Transform a Node

ArasModules.xml.transform processes the document node using the specified XSL stylesheet. It functions identically to the standard XmlDOMDocument.transformNode(objXSLTStylesheet).

The function takes the following arguments:

  • xmlDocument – a valid XmlDOMDocument.
  • xsltStylesheet – a valid XSLT stylesheet that is applied to the xmlDocument.

...
let transformedXmlDocument = ArasModules.xml.transform(xmlDoc, xsltStylesheet);
...