An Overview of the XML processing facilities in Qt.
In addition to core XML support, classes for higher level querying and manipulation of XML data are provided by the Qt XML Patterns module. In the Qt SVG module, the
QSvgGeneratorclasses can 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
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.
The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.
The QXmlLocator class provides the XML handler classes with information about the parsing position within a file.
The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support.
The QXmlAttributes class provides XML attributes.
The QXmlInputSource class provides the input data for the QXmlReader subclasses.
The QXmlContentHandler class provides an interface to report the logical content of XML data.
The QXmlErrorHandler class provides an interface to report errors in XML data.
The QXmlDTDHandler class provides an interface to report DTD content of XML data.
The QXmlEntityResolver class provides an interface to resolve external entities contained in XML data.
The QXmlLexicalHandler class provides an interface to report the lexical content of XML data.
The QXmlDeclHandler class provides an interface to report declaration content of XML data.
The QXmlDefaultHandler class provides a default implementation of all the XML handler classes.
The QXmlReader class provides an interface for XML readers (i.e. parsers).
The QXmlSimpleReader class provides an implementation of a simple XML parser.
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming API.
The QXmlStreamAttribute class represents a single XML attribute.
The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute.
The QXmlStreamNotationDeclaration class represents a DTD notation declaration.
The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
The QXmlStreamEntityDeclaration class represents a DTD entity declaration.
The QXmlStreamWriter class provides an XML writer with a simple streaming API.
The QAbstractMessageHandler class provides a callback interface for handling messages.
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.
The QAbstractXmlNodeModel class is an abstract base class for modeling non-XML data to look like XML for QXmlQuery.
The QXmlItem class contains either an XML node or an atomic value.
The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeModel.
The QAbstractXmlReceiver class provides a callback interface for transforming the output of a QXmlQuery.
Bridges a QPatternist::SequenceIterator to QAbstractXmlPullProvider.
The QSimpleXmlNodeModel class is an implementation of QAbstractXmlNodeModel sufficient for many common cases.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
The QXmlFormatter class is an implementation of QXmlSerializer for transforming XQuery output into formatted XML.
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().
The QXmlNamePool class is a table of shared strings referenced by instances of QXmlName.
The QXmlQuery class performs XQueries on XML data, or on non-XML data modeled to look like XML.
The QXmlResultItems class iterates through the results of evaluating an XQuery in QXmlQuery.
The QXmlSchema class provides loading and validation of a W3C XML Schema.
The QXmlSchemaValidator class validates XML instance documents against a W3C XML Schema.
The QXmlSerializer class is an implementation of QAbstractXmlReceiver for transforming XQuery output into unformatted XML.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.