DOMImplementation
DOMImplementation
نمای کلی
DOMImplementation یک کلاس در Aspose.Html FOSS برای Python است.
سطح سازگاری Legacy DOMImplementation.
این کلاس 6 متد برای کار با اشیاء DOMImplementation در برنامههای Python ارائه میدهد. متدهای موجود شامل: __init__, create_document, create_document_type, create_html_document, get_feature, has_feature هستند. تمام اعضای عمومی پس از نصب بسته Aspose.Html FOSS برای Python، برای هر برنامه Python قابل دسترسی هستند.
روش ها
| امضا | توضیح |
|---|---|
| `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" | یک گرهٔ DocumentType با معنای اعتبارسنجی پایه ایجاد کنید. |
| `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”` |