System.Xml.XmlDocumentType and IXMLDOMDocumentType

only for RuBoard

System.Xml.XmlDocumentType and IXMLDOMDocumentType

XmlDocumentType class in the System.Xml namespace is an implementation of the W3C DocumentType interface. This class represents the document type declaration. Table B.24 and Table B.25 list the properties and methods respectively found in the XmlDocumentType class.

Table B.24. System.Xml.XmlDocumentType and IXMLDOMDocumentType Properties

XmlDocumentType (Inherits XmlLinkedNode )

Description

MSXML IXMLDOM DocumentType

Entities

Gets an XmlNamedNodeMap containing XmlEntity nodes declared in the document type declaration.

entities Gets an IXMLDOMNamedNodeMap .

InternalSubset

Returns the value of the DTD internal subset on the DOCTYPE declaration.

 

IsReadOnly (Overrides XMLNode::IsReadOnly )

Returns a Boolean indicating whether the current node is read only.

 

LocalName (Overrides XMLNode::LocalName )

Gets the name of the node without the namespace prefix.

baseName

Name (Overrides XMLNode:: Name )

Gets the qualified name of the node.

nodeName

Notations Gets the collection of XmlNotation nodes present in the document type declaration.

Gets an XmlNamedNodeMap containing XmlNotation nodes present in the document type declaration.

notations Gets an IXMLDOMNamedNodeMap .

PreviousSibling (Inherited from XmlLinkedNode )

Gets the node previous to this node at the same level in the document hierarchy.

previousSibling

PublicId

Returns the value of the public identifier on the DOCTYPE declaration.

 

SystemId

Returns the value of the system identifier on the DOCTYPE declaration.

 
Table B.25. System.Xml.XmlDocumentType and IXMLDOMDocumentType Methods

XmlDocumentType

Description

MSXML IXMLDOM DocumentType

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 .

 

WriteTo (Overrides XMLNode::WriteTo )

Saves the XmlDocument node to the specified XmlWriter .

 
only for RuBoard


XML and ASP. NET
XML and ASP.NET
ISBN: B000H2MXOM
EAN: N/A
Year: 2005
Pages: 184

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net