Interface IDOMImplementation

Interface IDOMImplementation

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML.dll (25.2.0)

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

[ComVisible(true)]
[DOMName("DOMImplementation")]
[DOMObject]
public interface IDOMImplementation

Methods

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

Document

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

DocumentType

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

Document

Returns document.

HasFeature()

Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.

[DOMName("hasFeature")]
bool HasFeature()

Returns

bool

true if the specified feature has feature; otherwise, false.