An object implementing the XMLDocument interface represents a complete XML document.


function cursor()

Returns a new XMLCursor object for editing or reading the document.

function toString()

Returns the document rendered as a JavaScript String.

function write(mimeType, fileName)

Returns the document written as a BinaryData object. Both arguments are optional.