This documentation supports the 20.02 (12.0) version of BMC Discovery.To view an earlier version of the product, select the version from the Product version menu.

xpath.openDocument


xpath.openDocument(string)

Returns the DOM object resulting from parsing the XML string.

The DOM object returned is suitable for passing to xpath-evaluate.

Parsing the XML once is considerably more efficient if you wish to call xpath-evaluate on the same XML.

You should use xpath-closeDocument once xpath evaluation is complete or the parsed DOM will be held in memory for some time.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*