• PySide 模块
  • PySide.QtXml
  • 内容表

    上一话题

    QDomEntity

    下一话题

    QDomElement

    QDomNotation

    概要

    函数

    详细描述

    PySide.QtXml.QDomNotation class represents an XML notation.

    A notation either declares, by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification), or is used for formal declaration of processing instruction targets (see section 2.6 of the XML 1.0 specification).

    DOM does not support editing notation nodes; they are therefore read-only.

    A notation node does not have any parent.

    可以检索 PySide.QtXml.QDomNotation.publicId() and PySide.QtXml.QDomNotation.systemId() from a notation node.

    For further information about the Document Object Model see Level 1 and Level 2 Core. For a more general introduction of the DOM implementation see the PySide.QtXml.QDomDocument 文档编制。

    class PySide.QtXml. QDomNotation
    class PySide.QtXml. QDomNotation ( x )
    参数: x PySide.QtXml.QDomNotation

    构造函数。

    构造副本为 x .

    拷贝数据是共享的 (浅拷贝):修改一个节点也将改变另一节点。若想要制作深度副本,使用 PySide.QtXml.QDomNode.cloneNode() .

    PySide.QtXml.QDomNotation. publicId ( )
    返回类型: unicode

    Returns the public identifier of this notation.

    PySide.QtXml.QDomNotation. systemId ( )
    返回类型: unicode

    Returns the system identifier of this notation.