DOMImplementation

DOMImplementation

Tổng quan

DOMImplementation là một lớp trong Aspose.Html FOSS cho Python.

Giao diện tương thích DOMImplementation kế thừa.

Lớp này cung cấp 6 phương thức để làm việc với các đối tượng DOMImplementation trong các chương trình Python. Các phương thức khả dụng bao gồm: __init__, create_document, create_document_type, create_html_document, get_feature, has_feature. Tất cả các thành viên công khai đều có thể truy cập bởi bất kỳ ứng dụng Python nào sau khi cài đặt gói Aspose.Html FOSS cho Python.

Phương thức

Chữ kýMô tả
`init(document: objectNone)`
`has_feature(feature: str, version: strNone)→bool`
create_document_type(qualified_name: str, public_id: str, system_id: str) → "DocumentType"Tạo một nút DocumentType với ngữ nghĩa xác thực cơ bản.
`create_document(namespace: strNone, qualified_name: str, doctype: “DocumentType
`get_feature(feature: str, version: strNone)→object
`create_html_document(title: strNone)→“Document”`

Xem thêm

 Tiếng Việt