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.

Was this page helpful? Yes No Submitting... Thank you

Comments