only for RuBoard |
XmlElement class in the System.Xml namespace is an implementation of the W3C Element interface. This class represents an element in an XML document. Table B.10 and Table B.11 list the properties and methods respectively found in the XmlElement class.
XmlElement (Inherits XmlLinkedNode ) | Description | IXMLDOMElement |
---|---|---|
Attributes (Overrides XMLNode::Attributes ) | Gets an XmlAttributeCollection containing the attributes of this node. | attributes Gets IXMLDOMNamedNodeMap . |
HasAttributes | Returns a Boolean value indicating whether the current node has any attributes. | |
IsEmpty | Returns true if the tag form at is in the form "<book/>" ; false for the form "<book></book>" . | |
LocalName (Overrides XMLNode::LocalName ) | Gets the name of the node without the namespace prefix. | baseName |
NamespaceURI (Overrides XMLNode::NamespaceURI ) | Returns the namespace URI of the current node. | namespaceURI |
NextSibling (Overrides XMLNode::NextSibling ) | Returns the node following this node at the same level in the document hierarchy. | nextSibling |
Name (Overrides XMLNode::Name ) | Gets the qualified name of the node. | nodeName |
NodeType (Overrides XMLNode::NodeType ) | Returns an XmlNodeType enumeration member representing this node's type. | nodeType (Gets an IXMLDOMNodeType enumeration member) |
OwnerDocument (Overrides XMLNode::OwnerDocument ) | Gets the XmlDocument to which the current node belongs. | ownerDocument Gets the IXMLDOMDocument root note to which the current node belongs. |
Prefix (Overrides XMLNode::Prefix ) | Gets the namespace prefix associated with the current node. | prefix |
PreviousSibling (Inherited from XmlLinkedNode ) | Gets the node previous to this node at the same level in the document hierarchy. | previousSibling |
InnerText (Overrides XMLNode::InnerText ) | Gets or sets the concatenated values of the node and all its children. | text |
InnerXml (Overrides XMLNode::InnerXml ) | Gets or sets the markup representing the children of the current node. |
XmlElement | Description | IXMLDOMElement |
---|---|---|
CloneNode (Overrides XMLNode::CloneNode ) | Similar to XMLNode::Clone , but accepts a deep Boolean parameter indicating if the subtree should be duplicated . | |
GetAttribute | Gets the attribute value of the attribute passed as a string parameter. | getAttribute |
GetAttributeNode | Return the XmlAttribute for the attribute passed as a string parameter. | getAttributeNode Returns an IXMLDOMAttribute . |
GetElementsByTagName | Returns an XmlNodeList containing all the descendant elements with the specified name. | getElementsByTagName Returns IXMLDOMNodeList . |
HasAttribute | Returns a Boolean indicating whether the current node has a specified attribute. | |
RemoveAll (Overrides XMLNode::RemoveAll ) | Removes all specified attributes and child nodes of the current node with the exception of default attributes. | |
RemoveAllAttributes | Removes all specified attributes and child nodes of the current element with the exception of default attributes. | |
RemoveAttribute | Removes the specified attribute. | removeAttribute |
RemoveAttributeAt | Removes the attribute node with the index specified. | |
RemoveAttributeNode | Removes an XmlAttribute object. | removeAttributeNode Removes an IXMLDOMAttribute . |
SetAttribute | Sets the value of the specified named attribute. | setAttribute |
SetAttributeNode | Adds or changes the supplied XmlAttribute . | setAttributeNode Adds or changes the supplied IXMLDOMAttribute . |
WriteContentTo (Overrides XMLNode::WriteContentTo ) | Saves the contents of the XmlDocument node to the specified XmlWriter . | |
WriteTo (Overrides XMLNode::WriteTo ) | Saves the XmlDocument node to the specified XmlWriter . |
only for RuBoard |