QDomDocumentType露

The QDomDocumentType class is the representation of the DTD in the document tree. More鈥�

Inheritance diagram of PySide2.QtXml.QDomDocumentType

Synopsis露

Functions露

Detailed Description露

The QDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations() . In addition the function name() returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId() , systemId() and internalSubset() functions.

See also

QDomDocument

class PySide2.QtXml.QDomDocumentType露

PySide2.QtXml.QDomDocumentType(x)

param x:

PySide2.QtXml.QDomDocumentType

Creates an empty QDomDocumentType object.

PySide2.QtXml.QDomDocumentType.entities()露
Return type:

PySide2.QtXml.QDomNamedNodeMap

Returns a map of all entities described in the DTD.

PySide2.QtXml.QDomDocumentType.internalSubset()露
Return type:

str

Returns the internal subset of the document type or an empty string if there is no internal subset.

PySide2.QtXml.QDomDocumentType.name()露
Return type:

str

Returns the name of the document type as specified in the <!DOCTYPE name> tag.

See also

nodeName()

PySide2.QtXml.QDomDocumentType.notations()露
Return type:

PySide2.QtXml.QDomNamedNodeMap

Returns a map of all notations described in the DTD.

PySide2.QtXml.QDomDocumentType.publicId()露
Return type:

str

Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.

PySide2.QtXml.QDomDocumentType.systemId()露
Return type:

str

Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.