Interface IDOMImplementation
Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML.dll (25.7.0)
The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
[DOMName("DOMImplementation")]
[DOMObject]
[ComVisible(true)]
public interface IDOMImplementationMethods
CreateDocument(string, string, DocumentType)
Creates a DOM Document object of the specified type with its document element.
[DOMName("createDocument")]
Document CreateDocument(string namespaceURI, string qualifiedName, DocumentType doctype)Parameters
namespaceURI string
The namespace URI.
qualifiedName string
Name of the qualified.
doctype DocumentType
The doctype.
Returns
Returns document.
CreateDocumentType(string, string, string)
Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur.
[DOMName("createDocumentType")]
DocumentType CreateDocumentType(string qualifiedName, string publicId, string systemId)Parameters
qualifiedName string
Name of the qualified.
publicId string
The public id.
systemId string
The system id.
Returns
The Aspose.Html.Dom.DocumentType.
CreateHTMLDocument(string)
Returns a document, with a basic tree already constructed including a title element, unless the title argument is omitted.
[DOMName("createHTMLDocument")]
Document CreateHTMLDocument(string title)Parameters
title string
The title.
Returns
Returns document.
HasFeature()
Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
[DOMName("hasFeature")]
bool HasFeature()Returns
true if the specified feature has feature; otherwise, false.