DOMImplementation
DOMImplementation
Gambaran Umum
DOMImplementation adalah kelas dalam Aspose.Html FOSS untuk Python.
Permukaan kompatibilitas DOMImplementation warisan.
Kelas ini menyediakan 6 metode untuk bekerja dengan objek DOMImplementation dalam program Python. Metode yang tersedia meliputi: __init__, create_document, create_document_type, create_html_document, get_feature, has_feature. Semua anggota publik dapat diakses oleh aplikasi Python mana pun setelah menginstal paket Aspose.Html FOSS untuk Python.
Metode
| Tanda tangan | Deskripsi |
|---|---|
| `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" | Buat node DocumentType dengan semantik validasi dasar. |
| `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”` |