om.DomNode methods
Methods of the om.DomNode
class.
Name | Description |
---|---|
|
Adds an existing node at the end of the list of children in the current node. |
|
Creates and adds a node at the end of the list of children in the current node. |
|
Inserts an existing node before the existing node specified. |
|
Deletes the specified child node from the current node. |
|
Replaces a node by another in the child nodes of the current node. |
Name | Description |
---|---|
|
Load an XML file into the current node. |
|
Parses an XML formatted string and creates the DOM structure in the current node. |
|
Serializes the current node into an XML formatted string. |
|
Processes a DOM document with a SAX document handler. |
|
Creates an XML file from the current DOM node. |
Name | Description |
---|---|
|
Returns the internal AUI tree id of a DOM node. |
|
Returns the XML tag name of a DOM node. |
Name | Description |
---|---|
|
Returns the value of a DOM node attribute. |
|
Returns the number of attributes in the DOM node. |
|
Returns the value of a DOM node attribute, with default integer value. |
|
Returns the value of a DOM node attribute, with default string value. |
|
Returns the name of a DOM node attribute by position. |
|
Returns the value of a DOM node attribute by position. |
|
Sets the value of a DOM node attribute. |
|
Delete the specified attribute from the DOM node. |
Name | Description |
---|---|
|
Returns a child DOM node by position. |
|
Returns the number of children nodes. |
|
Returns the first child DOM node. |
|
Returns the last child DOM node. |
|
Returns the next sibling DOM node of this node. |
|
Returns the parent DOM node. |
|
Returns previous sibling DOM node of this node. |
|
Finds descendant DOM nodes from an XPath-like pattern. |
|
Finds descendant DOM nodes based on a tag name. |