QDomCommentclass represents an XML comment. 更多 …
在剖析 XML 中的注释,譬如这:
<!-- this is a comment -->is represented by
QDomCommentobjects in the parsed Dom tree.有关文档对象模型的进一步信息,见 级别 1 and 级别 2 核心 。有关 DOM 实现的更一般介绍,见
QDomDocument文档编制。
QDomComment
¶
QDomComment(x)
- param x
构造空注释。要构造带内容的注释,使用
createComment()
函数。