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 Qt::convertFromPlainText().
Topics:¶
Classes for XML Processing¶
These classes are relevant to XML users.
The QDomImplementation class provides information about the features of the DOM implementation.
The QDomNodeList class is a list of QDomNode objects.
The QDomNode class is the base class for all the nodes in a DOM tree.
The QDomNamedNodeMap class contains a collection of nodes that can be accessed by name.
The QDomDocumentType class is the representation of the DTD in the document tree.
The QDomDocumentFragment class is a tree of QDomNodes which is not usually a complete QDomDocument.
The QDomCharacterData class represents a generic string in the DOM.
The QDomAttr class represents one attribute of a QDomElement.
The QDomElement class represents one element in the DOM tree.
The QDomText class represents text data in the parsed XML document.
The QDomComment class represents an XML comment.
The QDomCDATASection class represents an XML CDATA section.
The QDomNotation class represents an XML notation.
The QDomEntity class represents an XML entity.
The QDomEntityReference class represents an XML entity reference.
The QDomProcessingInstruction class represents an XML processing instruction.
The QDomDocument class represents an XML document.
QDomDocument.ParseResult
The struct is used to store the result of QDomDocument::setContent().