上一话题

XML 流

下一话题

Qt XML Patterns 范例

XML 类

Classes that support XML, via, for example DOM and SAX.

These classes are relevant to XML users.

PySide2.QtXml.QDomImplementation

QDomImplementation 类提供 DOM 实现特征的有关信息。

PySide2.QtXml.QDomNodeList

The QDomNodeList class is a list of QDomNode objects.

PySide2.QtXml.QDomNode

QDomNode 类是所有 DOM 树节点的基类。

PySide2.QtXml.QDomNamedNodeMap

QDomNamedNodeMap 类包含可以按名称访问的节点集合。

PySide2.QtXml.QDomDocumentType

QDomDocumentType 类是在文档树中的 DTD 表示。

PySide2.QtXml.QDomDocumentFragment

The QDomDocumentFragment class is a tree of QDomNodes which is not usually a complete QDomDocument.

PySide2.QtXml.QDomCharacterData

QDomCharacterData 类表示一般 DOM 字符串。

PySide2.QtXml.QDomAttr

The QDomAttr class represents one attribute of a QDomElement.

PySide2.QtXml.QDomElement

QDomElement 类表示一个 DOM 树元素。

PySide2.QtXml.QDomText

QDomText 类表示 XML 文档的剖析文本数据。

PySide2.QtXml.QDomComment

QDomComment 类表示 XML 注释。

PySide2.QtXml.QDomCDATASection

QDomCDATASection 类表示 XML CDATA 区间。

PySide2.QtXml.QDomNotation

QDomNotation 类表示 XML 表示法。

PySide2.QtXml.QDomEntity

QDomEntity 类表示 XML 实体。

PySide2.QtXml.QDomEntityReference

QDomEntityReference 类表示 XML 实体引用。

PySide2.QtXml.QDomProcessingInstruction

QDomProcessingInstruction 类表示 XML 处理指令。

PySide2.QtXml.QDomDocument

QDomDocument 类表示 XML 文档。

PySide2.QtXml.QXmlParseException

The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.

PySide2.QtXml.QXmlLocator

QXmlLocator 类提供具有有关文件剖析位置信息的 XML 处理程序类。

PySide2.QtXml.QXmlNamespaceSupport

QXmlNamespaceSupport 类是想要包括名称空间支持 XML 读取器的帮手类。

PySide2.QtXml.QXmlAttributes

QXmlAttributes 类提供 XML 属性。

PySide2.QtXml.QXmlInputSource

The QXmlInputSource class provides the input data for the QXmlReader subclasses.

PySide2.QtXml.QXmlContentHandler

QXmlContentHandler 类提供报告 XML 数据逻辑内容的接口。

PySide2.QtXml.QXmlErrorHandler

QXmlErrorHandler 类提供报告 XML 数据错误的接口。

PySide2.QtXml.QXmlDTDHandler

QXmlDTDHandler 类提供报告 XML 数据 DTD 内容的接口。

PySide2.QtXml.QXmlEntityResolver

QXmlEntityResolver 类提供用于解析 XML 数据包含外部实体的接口。

PySide2.QtXml.QXmlLexicalHandler

QXmlLexicalHandler 类提供用于报告 XML 数据词法内容的接口。

PySide2.QtXml.QXmlDeclHandler

QXmlDeclHandler 类提供报告 XML 数据声明内容的接口。

PySide2.QtXml.QXmlDefaultHandler

QXmlDefaultHandler 类提供所有 XML 处理程序类的默认实现。

PySide2.QtXml.QXmlReader

QXmlReader 类为 XML 读取器 (即:剖析器) 提供接口。

PySide2.QtXml.QXmlSimpleReader

QXmlSimpleReader 类提供简单 XML 剖析器的实现。

PySide2.QtCore.QXmlStreamEntityResolver

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

PySide2.QtCore.QXmlStreamReader

QXmlStreamReader 类为凭借简单流化 API 读取格式良好的 XML 提供快速剖析器。

PySide2.QtCore.QXmlStreamAttribute

QXmlStreamAttribute 类表示单 XML 属性。

PySide2.QtCore.QXmlStreamAttributes

The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute.

PySide2.QtCore.QXmlStreamNotationDeclaration

The QXmlStreamNotationDeclaration class represents a DTD notation declaration.

PySide2.QtCore.QXmlStreamNamespaceDeclaration

QXmlStreamNamespaceDeclaration 类表示名称空间声明。

PySide2.QtCore.QXmlStreamEntityDeclaration

QXmlStreamEntityDeclaration 类表示 DTD 实体声明。

PySide2.QtCore.QXmlStreamWriter

QXmlStreamWriter 类提供采用简单流化 API 的 XML 写入器。

PySide2.QtXmlPatterns.QAbstractMessageHandler

The QAbstractMessageHandler class provides a callback interface for handling messages.

PySide2.QtXmlPatterns.QAbstractUriResolver

The QAbstractUriResolver class is a callback interface for resolving Uniform Resource Identifiers. A Uniform Resource Identifier (URI) is a string that uniquely identifies a resource. URIs are versatile global identifiers. It is often useful to transform a URI that identifies something logical into a URI that locates something physical (a URL), or to simply map a URI to a different URI. QAbstractUriResolver::resolve() provides this functionality.

The QAbstractXmlForwardIterator class is a base class for forward iterators.

Helper class for ListIterator, and should only be instantiated through sub-classing.

Bridges values in Qt’s QList container class into an QAbstractXmlForwardIterator.

PySide2.QtXmlPatterns.QAbstractXmlNodeModel

The QAbstractXmlNodeModel class is an abstract base class for modeling non-XML data to look like XML for QXmlQuery.

PySide2.QtXmlPatterns.QXmlItem

The QXmlItem class contains either an XML node or an atomic value.

PySide2.QtXmlPatterns.QXmlNodeModelIndex

The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeModel.

PySide2.QtXmlPatterns.QAbstractXmlReceiver

The QAbstractXmlReceiver class provides a callback interface for transforming the output of a QXmlQuery.

Bridges a QPatternist::SequenceIterator to QAbstractXmlPullProvider.

QSimpleXmlNodeModel

The QSimpleXmlNodeModel class is an implementation of QAbstractXmlNodeModel sufficient for many common cases.

PySide2.QtXmlPatterns.QSourceLocation

The QSourceLocation class identifies a location in a resource by URI, line, and column.

PySide2.QtXmlPatterns.QXmlFormatter

The QXmlFormatter class is an implementation of QXmlSerializer for transforming XQuery output into formatted XML.

PySide2.QtXmlPatterns.QXmlName

The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way. QXmlName represents the name of an XML node in a way that is both efficient and safe for comparing names. Normally, an XML node represents an XML element or attribute, but QXmlName can also represent the names of other kinds of nodes, e.g., QAbstractXmlReceiver::processingInstruction() and QAbstractXmlReceiver::namespaceBinding().

PySide2.QtXmlPatterns.QXmlNamePool

The QXmlNamePool class is a table of shared strings referenced by instances of QXmlName.

PySide2.QtXmlPatterns.QXmlQuery

QXmlQuery 类对 XML 数据或对看起来像 XML 的非 XML 建模数据履行 XQueries。

PySide2.QtXmlPatterns.QXmlResultItems

The QXmlResultItems class iterates through the results of evaluating an XQuery in QXmlQuery.

PySide2.QtXmlPatterns.QXmlSchema

QXmlSchema 类提供对 W3C XML 模式的加载和验证。

PySide2.QtXmlPatterns.QXmlSchemaValidator

The QXmlSchemaValidator class validates XML instance documents against a W3C XML Schema.

PySide2.QtXmlPatterns.QXmlSerializer

The QXmlSerializer class is an implementation of QAbstractXmlReceiver for transforming XQuery output into unformatted XML.