QDomDocumentTypeclass is the representation of the DTD in the document tree. 更多 …
QDomDocumentTypeclass allows read-only access to some of the data structures in the DTD: it can return a map of allentities()andnotations(). In addition the functionname()returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides thepublicId(),systemId()andinternalSubset()函数。另请参阅
QDomDocumentType
¶
QDomDocumentType(x)
- param x
Creates an empty
QDomDocumentType
对象。
PySide2.QtXml.QDomDocumentType.
entities
(
)
¶
Returns a map of all entities described in the DTD.
PySide2.QtXml.QDomDocumentType.
internalSubset
(
)
¶
unicode
Returns the internal subset of the document type or an empty string if there is no internal subset.
另请参阅
PySide2.QtXml.QDomDocumentType.
name
(
)
¶
unicode
Returns the name of the document type as specified in the <!DOCTYPE name> tag.
另请参阅
PySide2.QtXml.QDomDocumentType.
notations
(
)
¶
Returns a map of all notations described in the DTD.
PySide2.QtXml.QDomDocumentType.
publicId
(
)
¶
unicode
Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.
PySide2.QtXml.QDomDocumentType.
systemId
(
)
¶
unicode
Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.