Name
Document
Synopsis
The Document
interface represents an entire, well-formed XML
document. Once the Document
object is created via the DOMImplementation
interface, you can
access every aspect of the underlying XML document through the
various tree-navigation methods exposed by the Node
interface, the parent of the
Document
interface.
In DOM documents, document elements cannot exist outside of
a parent document. For this reason, the Document
interface exposes several
factory methods used to create new document elements.
Attributes
The following attributes are defined for the Document
object:
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.