|
Document Methods |
The methods of the Document object are listed here. For a complete list of Document object members, see the Document Members topic.
| Adds the specified node to the end of the list of child nodes, of this node. | |
| Creates a duplicate of this node. | |
| Creates an Attribute object with the specified name. | |
| Creates a CDATASection object containing the specified data. | |
| Creates a Comment object containing the specified data. | |
| Creates a DocumentFragment object. | |
| Creates an Element object. | |
| Creates an EntityReference object with the specified name. | |
| Creates a ProcessingInstruction object with the specified name and data. | |
| Creates a Text object with the specified text. | |
| Gets the Element with the specified ID. | |
| Returns a NodeList containing a list of all descendant elements that match the specified name. | |
| Gets a value indicating whether this node has any child nodes. | |
| Imports a Node from another document to the current document. | |
| Inserts the specified node immediately before the specified reference node. | |
| Loads the specified XML data into the current document. | |
| Combines all adjacent text nodes in the full depth of the sub-tree underneath this node. | |
| Removes specified child node. | |
| Replaces the child node oldChild with newChild node. | |
| Saves the current XML document to the specified location. |