| Method Prototype | Description
|
| Sub AppendChild( c As XMLNode ) | Append a child node to the current node.
|
| Function AppendChild( c As XMLNode ) As XMLNode | Append a child node to the current node, returning a reference to the appended child.
|
| Function Child( index As Integer ) As XMLNode | Returns a child node for a zero-based index value.
|
| Function Clone( deep As Boolean ) As XMLNode | Returns a duplicated copy of the current node. If deep is true then all of the child nodes of the current node will be duplicated as well.
|
| Function Compare( n As XMLNode ) As Integer | Compares the current node to n and returns a numeric value for the result of the comparison which is similar to the string function StrCmp. (currentNode < n, return -1; currentNode = n, return 0; currentNode > n, return 1)
|
| Function ChildCount() As Integer | Return the count of the child nodes for the current node.
|
| Function ErrorCode() As Integer | Returns the numeric code of the last error triggered by an XML node action, like trying to load invalid xml into an XMLDocument.
|
| Function ErrorMessage() As String | Returns the text description of the last error triggered by an XML node action, like trying to load invalid xml into an XMLDocument.
|
| Function FirstChild() As XMLNode | Returns the first child node for the current node. Should be the same result as calling XMLNode.Child(0).
|
| Sub Insert( newChild As XMLNode, refChild As XMLNode ) | Insert newChild before refChild.
|
| Function Insert( newChild As XMLNode, refChild As XMLNode ) As XMLNode | Insert newChild before refChild. Returns a reference to the inserted node.
|
| Function LastChild() As XMLNode | Returns the last child node for the current node. Should be the same result as calling XMLNode.Child(XMLNode.ChildCount - 1).
|
| Function LastError() As Integer | Numeric code of the last error.
|
| Function LocalName() As String | Name of the node without its prefix.
|
| Sub Name( Assigns newValue As String ) | Assigns the name of the current node.
|
| Function Name() As String | Returns the name of the current node.
|
| Function NamespaceURI() As String |
|
| Function NextSibling() As XMLNode | Returns the next XMLNode in sequence.
|
| Function OwnerDocument() As XMLDocument | Returns the XMLDocument in which the current node resides.
|
| Function Parent() As XMLNode | Returns the immediate parent node of the current node.
|
| Function Prefix() As String | Returns the namespace prefix of the current node.
|
| Function PreviousSibling() As XMLNode | Returns the previous XMLNode in sequence.
|
| Sub RemoveChild( oldChild As XMLNode ) | Removes the specified child from the current node.
|
| Sub ReplaceChild( newChild As XMLNode, oldChild As XMLNode ) | Replace the oldChild node with the newChild node.
|
| Function ReplaceChild( newChild As XMLNode, oldChild As XMLNode ) As XMLNode | Replace the oldChild node with the newChild node and return a reference to newChild.
|
| Function ToString() As String | Returns a string representation of the current node.
|
| Function Type() As Integer | Returns a numeric value indicating the type of the current node. Use the constants in XMLNodeType for comparisons.
|
| Sub Value( Assigns newValue As String ) | Assigns the text value for some types of XMLNode, including XMLTextNode and XMLAttribute. It is not supported for all node types.
|
| Function Value() As String | Returns the text value for some types of XMLNode, including XMLTextNode and XMLAttribute. It is not supported for all node types.
|
| Function XQL( query As String ) As XMLNodeList | Performs an XPath query on the current node and returns an XMLNodeList containing the collection of all nodes that match the XQL query conditions.
|
XMLNode is the superclass of most of the other classes in the Document Object Model (DOM). You will rarely instantiate an XMLNode object. Instead, you'll likely instantiate its subclasses using methods in the