DOM Builder Reference > General XML API Methods > deleteDocument
  
deleteDocument
This method deletes all the XML document and node objects that have been created by the DOM Builder. It should be called by any programs using the DOM Builder after it has finished building an XML document, in order to reclaim memory and eliminate the possibility of referencing stale handles later on.The following table lists parameters of deleteDocument.
 
Parameter Name
Type
Description
I/O
Req
None