close()

The document is closed.

Example using close():

domSrc.close()

Note:

It is important to use this if a single script processes many documents as it saves resources.