DOMImplementation
DOMImplementation
Przegląd
DOMImplementation jest klasą w Aspose.Html FOSS dla Python.
Warstwa kompatybilności Legacy DOMImplementation.
Ta klasa udostępnia 6 metod do pracy z obiektami DOMImplementation w programach Python. Dostępne metody to: __init__, create_document, create_document_type, create_html_document, get_feature, has_feature. Wszystkie publiczne członki są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.Html FOSS dla Python.
Metody
| Sygnatura | Opis |
|---|---|
| `init(document: object | None)` |
| `has_feature(feature: str, version: str | None)→bool` |
create_document_type(qualified_name: str, public_id: str, system_id: str) → "DocumentType" | Utwórz węzeł DocumentType z podstawowymi semantykami walidacji. |
| `create_document(namespace: str | None, qualified_name: str, doctype: “DocumentType |
| `get_feature(feature: str, version: str | None)→object |
| `create_html_document(title: str | None)→“Document”` |