Node Methods

Method Description
Append Child Adds a node New Child to the end of the list of children of the node. If New Child already exists in the tree, the new node replaces the existing one. Details
Clone Node Clones a node. If Deep is TRUE, the parser copies the node and its entire subtree. If Deep is FALSE, the parser copies only the node. Details
Get XML Returns a string that contains the XML for the node. Details
Get XML (Pretty Print) Pretty prints the XML for a node to a string. Details
Has Attributes Indicates whether the node, if it is an element, has any attributes. Details
Has Child Nodes Determines whether a node has children. Details
Insert Before Inserts a node New Child before the existing Child Node Reference Child. If Reference Child is invalid, the parser inserts New Child at the end of the list of children. Details
Is Supported Tests whether the DOM Implementation implements a specific feature and whether the node supports the feature. Details
Normalize Puts all Text Nodes in the full depth of the subtree underneath the node, including Attribute Nodes, into a standard form. Details
Remove Child Removes the Child Node that Old Child indicates from the list of children. Details
Replace Child Replaces Old Child with New Child in the list of children of the node. Details