XML Processing

An Overview of the XML processing facilities in Qt.

Qt provides two general-purpose sets of APIs to read and write well-formed XML: stream based and DOM based .

Qt also provides specific support for some XML dialects. For instance, the Qt SVG module provides the QSvgRenderer and QSvgGenerator classes to read and write a subset of SVG, an XML-based file format. Qt also provides helper functions that may be useful to those working with XML and XHTML: see Qt::escape() and convertFromPlainText() .

Topics:

Classes for XML Processing

These classes are relevant to XML users.

PySide6.QtXml.QDomImplementation

The QDomImplementation class provides information about the features of the DOM implementation.

PySide6.QtXml.QDomNodeList

The QDomNodeList class is a list of QDomNode objects.

PySide6.QtXml.QDomNode

The QDomNode class is the base class for all the nodes in a DOM tree.

PySide6.QtXml.QDomNamedNodeMap

The QDomNamedNodeMap class contains a collection of nodes that can be accessed by name.

PySide6.QtXml.QDomDocumentType

The QDomDocumentType class is the representation of the DTD in the document tree.

PySide6.QtXml.QDomDocumentFragment

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

PySide6.QtXml.QDomCharacterData

The QDomCharacterData class represents a generic string in the DOM.

PySide6.QtXml.QDomAttr

The QDomAttr class represents one attribute of a QDomElement.

PySide6.QtXml.QDomElement

The QDomElement class represents one element in the DOM tree.

PySide6.QtXml.QDomText

The QDomText class represents text data in the parsed XML document.

PySide6.QtXml.QDomComment

The QDomComment class represents an XML comment.

PySide6.QtXml.QDomCDATASection

The QDomCDATASection class represents an XML CDATA section.

PySide6.QtXml.QDomNotation

The QDomNotation class represents an XML notation.

PySide6.QtXml.QDomEntity

The QDomEntity class represents an XML entity.

PySide6.QtXml.QDomEntityReference

The QDomEntityReference class represents an XML entity reference.

PySide6.QtXml.QDomProcessingInstruction

The QDomProcessingInstruction class represents an XML processing instruction.

PySide6.QtXml.QDomDocument

The QDomDocument class represents an XML document.

PySide6.QtCore.QXmlStreamEntityResolver

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

PySide6.QtCore.QXmlStreamReader

The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming API.

PySide6.QtCore.QXmlStreamAttribute

The QXmlStreamAttribute class represents a single XML attribute.

PySide6.QtCore.QXmlStreamAttributes

The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute.

PySide6.QtCore.QXmlStreamNotationDeclaration

The QXmlStreamNotationDeclaration class represents a DTD notation declaration.

PySide6.QtCore.QXmlStreamNamespaceDeclaration

The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

PySide6.QtCore.QXmlStreamEntityDeclaration

The QXmlStreamEntityDeclaration class represents a DTD entity declaration.

PySide6.QtCore.QXmlStreamWriter

The QXmlStreamWriter class provides an XML writer with a simple streaming API.