GitHub

API reference for Doctype.

A document type declaration. public_id and system_id name an external DTD, which is never read; the internal subset is not reported.

Attributes

AttributeTypeDescription
namestr
public_idstr | None = None
system_idstr | None = None

Functions

__init__

__init__(name, public_id=None, system_id=None) -> None
ParameterTypeDescription
namestr
public_idstr | None = None
system_idstr | None = None