xpath transform — extracts value(s) from an XML string via an XPath expression.
The input is parsed with @xmldom/xmldom. For node-set expressions, each match is reduced to its text
(nodeValue/textContent); for scalar expressions (e.g. count(...), .../text()) the scalar is
returned. By default the FIRST match is returned; set First: false to get the full array. Lives here,
not in @memberjunction/global, because it needs xpath + @xmldom/xmldom.
xpathtransform — extracts value(s) from an XML string via an XPath expression.The input is parsed with
@xmldom/xmldom. For node-set expressions, each match is reduced to its text (nodeValue/textContent); for scalar expressions (e.g.count(...),.../text()) the scalar is returned. By default the FIRST match is returned; setFirst: falseto get the full array. Lives here, not in@memberjunction/global, because it needsxpath+@xmldom/xmldom.