XML and ASP.NET
| only for RuBoard |
System.Xml.XmlEntity and IXMLDOMEntity
XmlEntity class in the System.Xml namespace is an implementation of the W3C Entity interface. This class represents an entity declaration <!ENTITY ... > . Table B.28 and Table B.29 list the properties and methods respectively found in the XmlEntity class.
Table B.28. System.Xml.XmlEntity and IXMLDOMEntity Properties
| XmlEntity (Inherits XmlNode ) | Description | MSXML IXMLDOMEntity |
|---|---|---|
| BaseURI (Overrides XMLNode::BaseURI ) | Gets the base URI of the current node. Indicates from where the node was loaded. | |
| LocalName (Overrides XMLNode::LocalName ) | Gets the name of the node without the namespace prefix. | baseName |
| InnerXml (Overrides XMLNode::InnerXml ) | Gets or sets the markup representing the children of the current node. | |
| IsReadOnly (Overrides XMLNode::IsReadOnly ) | Returns a Boolean indicating whether the current node is read only. | |
| 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) |
| NotationName | Returns the name of the optional NDATA attribute on the entity declaration. | notationName |
| OuterXml (Overrides XmlNode:: OuterXml ) | Gets the XML markup representing the current node and its children. Similar to InnerXml , except the current node is also returned. | OuterXml (Overrides XmlNode:: OuterXml ) |
| PublicId | Returns the value of the public identifier on the entity declaration. | publicId |
| SystemId | Returns the value of the system identifier on the entity declaration. | systemId |
Table B.29. System.Xml.XmlEntity and IXMLDOMEntity Methods
| XmlEntity (Inherits XmlNode ) | Description | MSXML IXMLDOMEntity |
|---|---|---|
| CloneNode (Overrides XMLNode::CloneNode ) | Similar to XMLNode::Clone , but accepts a deep Boolean parameter indicating if the subtree should be duplicated . | cloneNode |
| WriteContentTo (Overrides XMLNode:: WriteContentTo ) | Saves the contents of the XmlDocument node to the specified XmlWriter . No effect for XmlEntity nodes. | |
| WriteTo (Overrides XMLNode::WriteTo ) | Saves the XmlDocument node to the specified XmlWriter . No effect for XmlEntity nodes. |
| only for RuBoard |