内容表

上一话题

QDomCharacterData

下一话题

QDomDocument

QDomComment

QDomComment class represents an XML comment. 更多

Inheritance diagram of PySide2.QtXml.QDomComment

详细描述

在剖析 XML 中的注释,譬如这:

<!-- this is a comment -->
											

is represented by QDomComment objects in the parsed Dom tree.

有关文档对象模型的进一步信息,见 级别 1 and 级别 2 核心 。有关 DOM 实现的更一般介绍,见 QDomDocument 文档编制。

class QDomComment

QDomComment(x)

param x

QDomComment

构造空注释。要构造带内容的注释,使用 createComment() 函数。