XML Processing
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 QSvgRenderer and QSvgGenerator classes 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 Qt::escape() and Qt::convertFromPlainText().
Topics:
- Classes for XML Processing
- An Introduction to Namespaces
- XML Streaming
- The SAX Interface
- Working with the DOM Tree
Classes for XML Processing
These classes are relevant to XML users.
The QXmlStreamAttribute class represents a single XML attribute | |
The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute. | |
The QXmlStreamEntityDeclaration class represents a DTD entity declaration. | |
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader. | |
The QXmlStreamNamespaceDeclaration class represents a namespace declaration. | |
The QXmlStreamNotationDeclaration class represents a DTD notation declaration. | |
The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming API. | |
The QXmlStreamWriter class provides an XML writer with a simple streaming API. | |
Information about the features of the DOM implementation | |
List of QDomNode objects | |
The base class for all the nodes in a DOM tree | |
Contains a collection of nodes that can be accessed by name | |
The representation of the DTD in the document tree | |
Tree of QDomNodes which is not usually a complete QDomDocument | |
Represents a generic string in the DOM | |
Represents one attribute of a QDomElement | |
Represents one element in the DOM tree | |
Represents text data in the parsed XML document | |
Represents an XML comment | |
Represents an XML CDATA section | |
Represents an XML notation | |
Represents an XML entity | |
Represents an XML entity reference | |
Represents an XML processing instruction | |
Represents an XML document | |
Used to report errors with the QXmlErrorHandler interface | |
The XML handler classes with information about the parsing position within a file | |
Helper class for XML readers which want to include namespace support | |
XML attributes | |
The input data for the QXmlReader subclasses | |
Interface to report the logical content of XML data | |
Interface to report errors in XML data | |
Interface to report DTD content of XML data | |
Interface to resolve external entities contained in XML data | |
Interface to report the lexical content of XML data | |
Interface to report declaration content of XML data | |
Default implementation of all the XML handler classes | |
Interface for XML readers (i.e. parsers) | |
Implementation of a simple XML parser |