close [id]
Close the document identified by id, removing its parse-tree from memory (note also that all nodes belonging to the document are removed from all nodelists they appear in). If id is omitted, the command closes the current document.