XmlNode (Class)
Represents information for a single node in an XML document.
Namespace: elsystem.xml
Properties
| Name | Type | Description | |
|
|
Attributes | object | Gets the collection of the attributes for this node. |
|
|
ChildNodes | object | Gets all child nodes of the node. |
|
|
FirstChild | object | Gets the first child of the node. |
|
|
HasChildNode | bool | True when this node has any child node. |
|
|
InnerText | string | Gets or sets the concatenated values of the node and all its child nodes. |
|
|
InnerXml | string | Gets or sets the markup representing only the child nodes of this node. |
|
|
Item | string | Gets the first child element with the specified name. |
|
|
LastChild | object | Gets the last child of the node. |
|
|
|
string | Gets the qualified name of the node. |
|
|
NextSibling | object | Gets the node immediately following this node. |
|
|
NodeType | object | Gets the type of the current node. |
|
|
OuterXml | string | Gets the markup representing this node and all its child nodes. |
|
|
OwnerDocument | object | Gets the XMLDocument to which this node belongs. |
|
|
ParentNode | object | Gets the parent of this node if exists. |
|
|
PreviousSibling | object | Gets the node immediately preceding this node. |
|
|
|
string | Gets or sets the value of the node. |
Methods
| Name | Description | |
|
|
AppendChild(pNewChild) | Adds the specified node to the end of the list of child nodes of this node. |
|
|
CloneNode(Deep) | Creates a duplicate of this node. |
|
|
InsertAfter(pNewChild,pRetChild) | Inserts the specified node immediately after the specified reference node. |
|
|
InsertBefore(pNewChild,pRetChild) | Inserts the specified node immediately before the specified reference node. |
|
|
Normalize | Puts all nodes underneath this node into a "normal" form so that only markup separates nodes leaving no adjacent nodes. |
|
|
PrependChild(pNewChild) | Adds the specified node to the beginning of the list of child nodes of this node. |
|
|
RemoveAll | Removes all the child nodes and/or attributes of the current node. |
|
|
RemoveChild(pOldChild) | Removes the specified child node. |
|
|
ReplaceChild(pNewChild,pOldChild) |
Replaces old child node with new child node. |
|
|
WriteContentTo(FileName) | Saves all the child nodes of the node to the specified file. |
|
|
WriteTo(FileName) | Saves the current node to the specified file. |
Inheritance Hierarchy
elsystem.xml.XmlNode