<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- modules.qdoc --> <head> <title>Qt 4.6: QtXml Module</title> <link rel="prev" href="qtsvg.html" /> <link rel="contents" href="modules.html" /> <link rel="next" href="qtxmlpatterns.html" /> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><p> [Previous: <a href="qtsvg.html">QtSvg Module</a>] [<a href="modules.html">All Qt Modules</a>] [Next: <a href="qtxmlpatterns.html">QtXmlPatterns Module</a>] </p> <h1 class="title">QtXml Module<br /><span class="subtitle"></span> </h1> <p>The QtXml module provides a stream reader and writer for XML documents, and C++ implementations of SAX and DOM. <a href="#details">More...</a></p> <h2>Classes</h2> <p><table width="100%" class="annotated" cellpadding="2" cellspacing="1" border="0"> <tr valign="top" class="odd"><th><a href="qdomattr.html">QDomAttr</a></th><td>Represents one attribute of a QDomElement</td></tr> <tr valign="top" class="even"><th><a href="qdomcdatasection.html">QDomCDATASection</a></th><td>Represents an XML CDATA section</td></tr> <tr valign="top" class="odd"><th><a href="qdomcharacterdata.html">QDomCharacterData</a></th><td>Represents a generic string in the DOM</td></tr> <tr valign="top" class="even"><th><a href="qdomcomment.html">QDomComment</a></th><td>Represents an XML comment</td></tr> <tr valign="top" class="odd"><th><a href="qdomdocument.html">QDomDocument</a></th><td>Represents an XML document</td></tr> <tr valign="top" class="even"><th><a href="qdomdocumentfragment.html">QDomDocumentFragment</a></th><td>Tree of QDomNodes which is not usually a complete QDomDocument</td></tr> <tr valign="top" class="odd"><th><a href="qdomdocumenttype.html">QDomDocumentType</a></th><td>The representation of the DTD in the document tree</td></tr> <tr valign="top" class="even"><th><a href="qdomelement.html">QDomElement</a></th><td>Represents one element in the DOM tree</td></tr> <tr valign="top" class="odd"><th><a href="qdomentity.html">QDomEntity</a></th><td>Represents an XML entity</td></tr> <tr valign="top" class="even"><th><a href="qdomentityreference.html">QDomEntityReference</a></th><td>Represents an XML entity reference</td></tr> <tr valign="top" class="odd"><th><a href="qdomimplementation.html">QDomImplementation</a></th><td>Information about the features of the DOM implementation</td></tr> <tr valign="top" class="even"><th><a href="qdomnamednodemap.html">QDomNamedNodeMap</a></th><td>Contains a collection of nodes that can be accessed by name</td></tr> <tr valign="top" class="odd"><th><a href="qdomnode.html">QDomNode</a></th><td>The base class for all the nodes in a DOM tree</td></tr> <tr valign="top" class="even"><th><a href="qdomnodelist.html">QDomNodeList</a></th><td>List of QDomNode objects</td></tr> <tr valign="top" class="odd"><th><a href="qdomnotation.html">QDomNotation</a></th><td>Represents an XML notation</td></tr> <tr valign="top" class="even"><th><a href="qdomprocessinginstruction.html">QDomProcessingInstruction</a></th><td>Represents an XML processing instruction</td></tr> <tr valign="top" class="odd"><th><a href="qdomtext.html">QDomText</a></th><td>Represents text data in the parsed XML document</td></tr> <tr valign="top" class="even"><th><a href="qxmlattributes.html">QXmlAttributes</a></th><td>XML attributes</td></tr> <tr valign="top" class="odd"><th><a href="qxmlcontenthandler.html">QXmlContentHandler</a></th><td>Interface to report the logical content of XML data</td></tr> <tr valign="top" class="even"><th><a href="qxmldtdhandler.html">QXmlDTDHandler</a></th><td>Interface to report DTD content of XML data</td></tr> <tr valign="top" class="odd"><th><a href="qxmldeclhandler.html">QXmlDeclHandler</a></th><td>Interface to report declaration content of XML data</td></tr> <tr valign="top" class="even"><th><a href="qxmldefaulthandler.html">QXmlDefaultHandler</a></th><td>Default implementation of all the XML handler classes</td></tr> <tr valign="top" class="odd"><th><a href="qxmlentityresolver.html">QXmlEntityResolver</a></th><td>Interface to resolve external entities contained in XML data</td></tr> <tr valign="top" class="even"><th><a href="qxmlerrorhandler.html">QXmlErrorHandler</a></th><td>Interface to report errors in XML data</td></tr> <tr valign="top" class="odd"><th><a href="qxmlinputsource.html">QXmlInputSource</a></th><td>The input data for the QXmlReader subclasses</td></tr> <tr valign="top" class="even"><th><a href="qxmllexicalhandler.html">QXmlLexicalHandler</a></th><td>Interface to report the lexical content of XML data</td></tr> <tr valign="top" class="odd"><th><a href="qxmllocator.html">QXmlLocator</a></th><td>The XML handler classes with information about the parsing position within a file</td></tr> <tr valign="top" class="even"><th><a href="qxmlnamespacesupport.html">QXmlNamespaceSupport</a></th><td>Helper class for XML readers which want to include namespace support</td></tr> <tr valign="top" class="odd"><th><a href="qxmlparseexception.html">QXmlParseException</a></th><td>Used to report errors with the QXmlErrorHandler interface</td></tr> <tr valign="top" class="even"><th><a href="qxmlreader.html">QXmlReader</a></th><td>Interface for XML readers (i.e. parsers)</td></tr> <tr valign="top" class="odd"><th><a href="qxmlsimplereader.html">QXmlSimpleReader</a></th><td>Implementation of a simple XML parser</td></tr> </table></p> <a name="details"></a> <h2>Detailed Description</h2> <p>To include the definitions of the module's classes, use the following directive:</p> <pre> #include <QtXml></pre> <p>To link against the module, add this line to your <a href="qmake-manual.html#qmake">qmake</a> <tt>.pro</tt> file:</p> <pre> QT += xml</pre> <p>Further XML support is provided by the <a href="http://qt.nokia.com/products/add-on-products">Qt Solutions</a> group who provide, for example, classes that support SOAP and MML with the Qt XML classes.</p> <p>This module is part of the <a href="full-framework-edition-classes.html">Qt Full Framework Edition</a> and the <a href="opensourceedition.html">Open Source Versions of Qt</a>.</p> <p> [Previous: <a href="qtsvg.html">QtSvg Module</a>] [<a href="modules.html">All Qt Modules</a>] [Next: <a href="qtxmlpatterns.html">QtXmlPatterns Module</a>] </p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="40%" align="left">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)</td> <td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="40%" align="right"><div align="right">Qt 4.6.3</div></td> </tr></table></div></address></body> </html>