<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtxml.qdoc --> <title>Qt XML C++ Classes | Qt XML 5.12.2</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtxml-index.html">Qt XML</a></td><td >Qt XML C++ Classes</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtxml-index.html">Qt 5.12.2 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#classes">Classes</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt XML C++ Classes</h1> <span class="subtitle"></span> <!-- $$$QtXml-brief --> <p>The Qt XML module provides C++ implementations of the SAX and DOM standards for XML. <a href="#details">More...</a></p> <!-- @@@QtXml --> <a name="classes"></a> <h2 id="classes">Classes</h2> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomattr.html">QDomAttr</a></p></td><td class="tblDescr"><p>Represents one attribute of a QDomElement</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomcdatasection.html">QDomCDATASection</a></p></td><td class="tblDescr"><p>Represents an XML CDATA section</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomcharacterdata.html">QDomCharacterData</a></p></td><td class="tblDescr"><p>Represents a generic string in the DOM</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomcomment.html">QDomComment</a></p></td><td class="tblDescr"><p>Represents an XML comment</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomdocument.html">QDomDocument</a></p></td><td class="tblDescr"><p>Represents an XML document</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomdocumentfragment.html">QDomDocumentFragment</a></p></td><td class="tblDescr"><p>Tree of QDomNodes which is not usually a complete QDomDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomdocumenttype.html">QDomDocumentType</a></p></td><td class="tblDescr"><p>The representation of the DTD in the document tree</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomelement.html">QDomElement</a></p></td><td class="tblDescr"><p>Represents one element in the DOM tree</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomentity.html">QDomEntity</a></p></td><td class="tblDescr"><p>Represents an XML entity</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomentityreference.html">QDomEntityReference</a></p></td><td class="tblDescr"><p>Represents an XML entity reference</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomimplementation.html">QDomImplementation</a></p></td><td class="tblDescr"><p>Information about the features of the DOM implementation</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomnamednodemap.html">QDomNamedNodeMap</a></p></td><td class="tblDescr"><p>Contains a collection of nodes that can be accessed by name</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomnode.html">QDomNode</a></p></td><td class="tblDescr"><p>The base class for all the nodes in a DOM tree</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomnodelist.html">QDomNodeList</a></p></td><td class="tblDescr"><p>List of QDomNode objects</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomnotation.html">QDomNotation</a></p></td><td class="tblDescr"><p>Represents an XML notation</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdomprocessinginstruction.html">QDomProcessingInstruction</a></p></td><td class="tblDescr"><p>Represents an XML processing instruction</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdomtext.html">QDomText</a></p></td><td class="tblDescr"><p>Represents text data in the parsed XML document</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmlattributes.html">QXmlAttributes</a></p></td><td class="tblDescr"><p>XML attributes</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmlcontenthandler.html">QXmlContentHandler</a></p></td><td class="tblDescr"><p>Interface to report the logical content of XML data</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmldtdhandler.html">QXmlDTDHandler</a></p></td><td class="tblDescr"><p>Interface to report DTD content of XML data</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmldeclhandler.html">QXmlDeclHandler</a></p></td><td class="tblDescr"><p>Interface to report declaration content of XML data</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmldefaulthandler.html">QXmlDefaultHandler</a></p></td><td class="tblDescr"><p>Default implementation of all the XML handler classes</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmlentityresolver.html">QXmlEntityResolver</a></p></td><td class="tblDescr"><p>Interface to resolve external entities contained in XML data</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmlerrorhandler.html">QXmlErrorHandler</a></p></td><td class="tblDescr"><p>Interface to report errors in XML data</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmlinputsource.html">QXmlInputSource</a></p></td><td class="tblDescr"><p>The input data for the QXmlReader subclasses</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmllexicalhandler.html">QXmlLexicalHandler</a></p></td><td class="tblDescr"><p>Interface to report the lexical content of XML data</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmllocator.html">QXmlLocator</a></p></td><td class="tblDescr"><p>The XML handler classes with information about the parsing position within a file</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmlnamespacesupport.html">QXmlNamespaceSupport</a></p></td><td class="tblDescr"><p>Helper class for XML readers which want to include namespace support</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmlparseexception.html">QXmlParseException</a></p></td><td class="tblDescr"><p>Used to report errors with the QXmlErrorHandler interface</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qxmlreader.html">QXmlReader</a></p></td><td class="tblDescr"><p>Interface for XML readers (i.e. parsers)</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qxmlsimplereader.html">QXmlSimpleReader</a></p></td><td class="tblDescr"><p>Implementation of a simple XML parser</p></td></tr> </table></div> <!-- $$$QtXml-description --> <a name="details"></a> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The module is not actively maintained anymore. Please use the <a href="../qtcore/qxmlstreamreader.html">QXmlStreamReader</a> and <a href="../qtcore/qxmlstreamwriter.html">QXmlStreamWriter</a> classes in <a href="../qtcore/qtcore-index.html">Qt Core</a> instead.</p> <p>To include the definitions of the module's classes, use the following directive:</p> <pre class="cpp"> <span class="preprocessor">#include <QtXml></span> </pre> <p>To link against the module, add this line to your <a href="../qmake/qmake-manual.html">qmake</a> <code>.pro</code> file:</p> <pre class="cpp"> QT += xml </pre> </div> <!-- @@@QtXml --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>