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

PropertyDescription
ParentxxNode, read-only, contains the parent node for this node.
FirstChildxxNode, read-only, contains the first child node for this node. Basic Concepts
LastChildxxNode, read-only, contains the last child node for this node.
PrevSiblingxxNode, read-only, contains the previous sibling node for this node.
NextSiblingxxNode, read-only, contains the next sibling node for this node.
TypeString, read-only, contains the node type, which can be one of the following:
  • "NODE_TYPE_ELEMENT"
  • "NODE_TYPE_TEXT"
  • "NODE_TYPE_CDATA"
  • "NODE_TYPE_ENTITY"
  • "NODE_TYPE_DOCUMENT"
NameString, read-only, contains the name for this node.
ValueString, read-only, contains the value for this node.
NormalizedTextString, read-only, contains the normalized text for this node if element type.
XMLString, read-only, creates XML text representation of the element node and its children.

 

Methods

MethodDescription
CloneClones a new node from this node.
DeleteDeletes this node object.
RemoveRemoves this node from the DOM  without deleting the object.
RemoveChildRemoves a specified child node of this node from the DOM without deleting the object.
ReplaceChildReplaces a specified child node of this node with a new node without deleting the old node object.
AppendChildAppend a new child node to this node.
InsertBeforeInserts a new node to the left of this node.
InsertAfterInserts a new node to the right of this node.
SetAttributeSets the value of the named attribute for this element node.
GetAttributeGets the value of the named attribute for this element node.
RemoveAttributeRemoves the named attribute from this element node.
SelectSingleRetrieves 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.