XmlNode (Class)

Represents information for a single node in an XML document.  

Namespace: elsystem.xml

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

Replaces old child node with new child node.

Public property WriteContentTo(FileName) Saves all the child nodes of the node to the specified file.
Public property WriteTo(FileName) Saves the current node to the specified file.
Inheritance Hierarchy

elsystem.Object

elsystem.xml.XmlNode