Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The XML module provides a well-formed XML parser using the SAX2 (Simple API for XML) interface plus an implementation of the DOM Level 2 (Document Object Model).
SAX is an event-based standard interface for XML parsers. The Qt interface follows the design of the SAX2 Java implementation. Its naming scheme was adapted to fit the Qt naming conventions. Details on SAX2 can be found at http://www.saxproject.org.
Support for SAX2 filters and the reader factory are under development. The Qt implementation does not include the SAX1 compatibility classes present in the Java interface.
For an introduction to Qt's SAX2 classes see "The Qt SAX2 classes".
DOM Level 2 is a W3C Recommendation for XML interfaces that maps the constituents of an XML document to a tree structure. Details and the specification of DOM Level 2 can be found at http://www.w3.org/DOM/. More information about the DOM classes in Qt is provided in the Qt DOM classes.
Qt provides the following XML related classes:
Class | Short description |
---|---|
QDomAttr | Represents one attribute of a QDomElement |
QDomCDATASection | Represents an XML CDATA section |
QDomCharacterData | Represents a generic string in the DOM |
QDomComment | Represents an XML comment |
QDomDocument | The representation of an XML document |
QDomDocumentFragment | Tree of QDomNodes which is usually not a complete QDomDocument |
QDomDocumentType | The representation of the DTD in the document tree |
QDomElement | Represents one element in the DOM tree |
QDomEntity | Represents an XML entity |
QDomEntityReference | Represents an XML entity reference |
QDomImplementation | Information about the features of the DOM implementation |
QDomNamedNodeMap | Collection of nodes that can be accessed by name |
QDomNode | The base class for all nodes of the DOM tree |
QDomNodeList | List of QDomNode objects |
QDomNotation | Represents an XML notation |
QDomProcessingInstruction | Represents an XML processing instruction |
QDomText | Represents textual data in the parsed XML document |
QXmlAttributes | XML attributes |
QXmlContentHandler | Interface to report logical content of XML data |
QXmlDeclHandler | Interface to report declaration content of XML data |
QXmlDefaultHandler | Default implementation of all XML handler classes |
QXmlDTDHandler | Interface to report DTD content of XML data |
QXmlEntityResolver | Interface to resolve extern entities contained in XML data |