.xpath.closeDocument
xpath.closeDocument(DOM object)
Closes the DOM object resulting from xpath-openDocument.
You should close an XML document opened with xpath-openDocument 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*