xxNode
The xxNode object provides access to the Document Object Model (DOM) Node implementation of a selected Transformation Service.
Constructor
Use the xxDomDocument node creation methods to create a new xxNode object.
Properties
Property | Description |
---|---|
Parent | xxNode, read-only, contains the parent node for this node. |
FirstChild | xxNode, read-only, contains the first child node for this node. Basic Concepts |
LastChild | xxNode, read-only, contains the last child node for this node. |
PrevSibling | xxNode, read-only, contains the previous sibling node for this node. |
NextSibling | xxNode, read-only, contains the next sibling node for this node. |
Type | String, read-only, contains the node type, which can be one of the following:
|
Name | String, read-only, contains the name for this node. |
Value | String, read-only, contains the value for this node. |
NormalizedText | String, read-only, contains the normalized text for this node if element type. |
XML | String, read-only, creates XML text representation of the element node and its children. |
Methods
Method | Description |
---|---|
Clone | Clones a new node from this node. |
Delete | Deletes this node object. |
Remove | Removes this node from the DOM without deleting the object. |
RemoveChild | Removes a specified child node of this node from the DOM without deleting the object. |
ReplaceChild | Replaces a specified child node of this node with a new node without deleting the old node object. |
AppendChild | Append a new child node to this node. |
InsertBefore | Inserts a new node to the left of this node. |
InsertAfter | Inserts a new node to the right of this node. |
SetAttribute | Sets the value of the named attribute for this element node. |
GetAttribute | Gets the value of the named attribute for this element node. |
RemoveAttribute | Removes the named attribute from this element node. |
SelectSingle | Retrieves the first element node that matches a given XPath pattern in the context of this node. |
Comments
See also xxDomDocument object.
Obtain more information on the concept of XML DOM on www.w3.org/DOM.