Class DocumentType
Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML.dll (25.2.0)
The DocumentType provides an interface to the list of entities that are defined for the document
[ComVisible(true)]
[DOMObject]
[DOMName("DocumentType")]
public class DocumentType : Node, INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver
Inheritance
object ← DOMObject ← EventTarget ← Node ← DocumentType
Implements
INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver
Inherited Members
Node.ELEMENT_NODE, Node.ATTRIBUTE_NODE, Node.TEXT_NODE, Node.CDATA_SECTION_NODE, Node.ENTITY_REFERENCE_NODE, Node.ENTITY_NODE, Node.PROCESSING_INSTRUCTION_NODE, Node.COMMENT_NODE, Node.DOCUMENT_NODE, Node.DOCUMENT_TYPE_NODE, Node.DOCUMENT_FRAGMENT_NODE, Node.NOTATION_NODE, Node.HasChildNodes(), Node.Normalize(), Node.CloneNode(), Node.CloneNode(bool), Node.IsEqualNode(Node), Node.IsSameNode(Node), Node.LookupPrefix(string), Node.LookupNamespaceURI(string), Node.IsDefaultNamespace(string), Node.InsertBefore(Node, Node), Node.ReplaceChild(Node, Node), Node.RemoveChild(Node), Node.AppendChild(Node), Node.Dispose(bool), Node.ToString(), Node.NodeType, Node.LocalName, Node.NamespaceURI, Node.Prefix, Node.NodeName, Node.BaseURI, Node.OwnerDocument, Node.ParentNode, Node.ParentElement, Node.ChildNodes, Node.FirstChild, Node.LastChild, Node.PreviousSibling, Node.NextSibling, Node.NodeValue, Node.TextContent, EventTarget.AddEventListener(string, DOMEventHandler, bool), EventTarget.AddEventListener(string, IEventListener), EventTarget.AddEventListener(string, IEventListener, bool), EventTarget.RemoveEventListener(string, DOMEventHandler, bool), EventTarget.RemoveEventListener(string, IEventListener), EventTarget.RemoveEventListener(string, IEventListener, bool), EventTarget.DispatchEvent(Event), EventTarget.Dispose(), EventTarget.Dispose(bool), DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
DocumentType(string, string, string, string, Document)
Initializes a new instance of the Aspose.Html.Dom.DocumentType class.
public DocumentType(string name, string publicId, string systemId, string internalSubset, Document doc)
Parameters
name
string
The entity name.
publicId
string
The public id.
systemId
string
The system id.
internalSubset
string
The internal subset.
doc
Document
The document.
Properties
InternalSubset
The internal subset as a string, or null if there is none.
[DOMName("internalSubset")]
public string InternalSubset { get; }
Property Value
Name
The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
[DOMName("name")]
public string Name { get; }
Property Value
NodeName
The name of this node, depending on its type.
public override string NodeName { get; }
Property Value
NodeType
A code representing the type of the underlying object.
public override ushort NodeType { get; }
Property Value
PublicId
The public identifier of the external subset.
[DOMName("publicId")]
public string PublicId { get; }
Property Value
SystemId
The system identifier of the external subset. This may be an absolute URI or not.
[DOMName("systemId")]
public string SystemId { get; }
Property Value
Methods
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
A System.String that represents this instance.