System.Xml
[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]
1.0.5000.0
2.0.0.0
4.0.0.0
To be added
System.Xml.XmlNode
System.Xml.IHasXmlChildNode
This class represents an <!ENTITY ... > declaration node within a document type declaration node. These nodes are children of nodes.
Represents an entity declaration, such as <!ENTITY... >.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
A networked XML document is comprised of chunks of data aggregated using various World Wide Web Consortium (W3C) standard inclusion mechanisms and therefore contains nodes that come from different places. The BaseURI tells you where these nodes came from.
The value of this property varies depending on the node type. Nodes which are children of external EntityReference nodes return the location of the entity itself. For example, consider the following XML document:
<!DOCTYPE item [
<!ENTITY xyz SYSTEM "a/b.xml">
]>
<item num='123'>&xyz;</item>
where the external entity a/b.xml contains the XML text <test>123</test>.
If the document is loaded from http://server/mydata.xml, BaseURI returns the following:
-
NodeType
Name
BaseURI
-
Attribute
num
http://server/mydata.xml
-
Document
#document
http://server/mydata.xml
-
DocumentType
item
http://server/mydata.xml
-
Entity
xyz
http://server/mydata.xml
-
Element
item
http://server/mydata.xml
-
EntityReference
xyz
http://server/mydata.xml
-
Element
test
http://server/a/b.xml
-
Text
#text
http://server/a/b.xml
BaseURI looks for entity reference boundaries, so if entities are expanded, this information is not preserved and this property returns the location of the XmlDocument object in all cases.
As a second example, given the following XML document:
<!DOCTYPE Mydata SYSTEM "http://localhost/doctype.dtd">
<baa>&xyz;</baa>
where the document type definition (DTD) file contains the following:
<!ENTITY xyz "<E1>My Data</E1>">
<!ELEMENT baa #PCDATA>
<!ATTLIST baa attr1 "woof">
If the XML document is loaded from http://localhost/mydata.xml, BaseURI returns the following for each of the nodes:
-
NodeType
Name
BaseURI
-
Document
#document
http://localhost/mydata.xml
-
DocumentType
Mydata
http://localhost/doctype.dtd
-
Element
baa
http://localhost/mydata.xml
-
Entity
xyz
http://localhost/doctype.dtd
-
EntityReference
xyz
http://localhost/mydata.xml
-
Attribute
woof
http://localhost/mydata.xml
The base URI of a default attribute is the same as the base URI of the element to which they belong.
This property is a Microsoft extension to the Document Object Model (DOM).
Gets the base Uniform Resource Identifier (URI) of the current node.
Method
1.0.5000.0
2.0.0.0
4.0.0.0
System.Xml.XmlNode
To be added.
Creates a duplicate of this node. Entity nodes cannot be cloned. Calling this method on an object throws an exception.
Returns a copy of the from which the method is called.
true to recursively clone the subtree under the specified node; false to clone only the node itself.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
XmlEntity nodes are read-only. Setting this property throws an exception.
This property is a Microsoft extension to the Document Object Model (DOM).
Gets the concatenated values of the entity node and all its children.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
XmlEntity nodes are read-only. Setting this property throws an exception.
This property is a Microsoft extension to the Document Object Model (DOM).
Gets the markup representing the children of this node.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.Boolean
To be added.
A read-only node is one whose properties, attributes, or children cannot be changed. You can remove a read-only node from the tree and insert it somewhere else.
Gets a value indicating whether the node is read-only.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
To be added.
Gets the name of the node without the namespace prefix.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
To be added.
Gets the name of the node.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.Xml.XmlNodeType
To be added.
To be added.
Gets the type of the node.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added: an object of type 'string'
To be added
Gets the name of the optional NDATA attribute on the entity declaration.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
This property is a Microsoft extension to the Document Object Model (DOM).
Gets the markup representing this node and all its children.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added: an object of type 'string'
To be added
Gets the value of the public identifier on the entity declaration.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.Xml.XmlLinkedNode
To be added.
To be added.
To be added.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added: an object of type 'string'
To be added
Gets the value of the system identifier on the entity declaration.
Method
1.0.5000.0
2.0.0.0
4.0.0.0
System.Void
This method is a Microsoft extension to the Document Object Model (DOM).
Saves all the children of the node to the specified . For XmlEntity nodes, this method has no effect.
The XmlWriter to which you want to save.
Method
1.0.5000.0
2.0.0.0
4.0.0.0
System.Void
This method is a Microsoft extension to the Document Object Model (DOM).
Saves the node to the specified . For XmlEntity nodes, this method has no effect.
The XmlWriter to which you want to save.