XmlNode (gb.xml)
The Node class is the base type for the entire Document Object Model. It represents a single node in the document tree.
This class is not creatable.
Constants
Static methods
Properties
Attributes
Returns a virtual collection of all the attribute nodes of this node.
Children
Returns an array containing all children of this node. If there are no children, returns an empty array.
Name
This property returns the name of the node.
Next
Returns node immediately following this node. If there is no such node, this property returns
NULL.
Parent
Returns the parent of this node. All nodes may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this property returns
NULL.
Previous
Returns the node immediately preceding this node. If there is no such node, this property returns
NULL.
Methods
NewAttribute
Creates a new attribute node, sets its name and value with the
Name and
Value arguments, and adds it to the current node.
NewElement
Creates a new element, sets its name and value with the
Name and
Value arguments, and adds it to the current node.
SetUserData
Associate an object to a key on this node. The object can later be retrieved from this node by calling
GetUserData with the same key.