Default language.

Important This documentation space contains information about the SaaS version of BMC Helix Discovery. If you are using the on-premises version of BMC Helix Discovery, see BMC Helix Discovery 25.2 (On-Premises).

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*