1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- modules.qdoc -->
<title>Qt 4.8: QtXml Module</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="content">
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
</div>
<div class="breadcrumb toolblock">
<ul>
<li class="first"><a href="index.html">Home</a></li>
<!-- Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li>QtXml</li>
</ul>
</div>
</div>
<div class="content mainContent">
<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>
<h1 class="title">QtXml Module</h1>
<span class="subtitle"></span>
<!-- $$$QtXml-brief -->
<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>
<!-- @@@QtXml -->
<a name="classes"></a>
<h2>Classes</h2>
<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>
<!-- $$$QtXml-description -->
<a name="details"></a>
<div class="descr">
<h2>Detailed Description</h2>
<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-manual.html#qmake">qmake</a> <tt>.pro</tt> file:</p>
<pre class="cpp"> 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>
</div>
<!-- @@@QtXml -->
<div class="ft">
<span></span>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2012 Nokia Corporation and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.</p>
<br />
<p>
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.</p>
<p>
Documentation sources may be obtained from <a href="http://www.qt-project.org">
www.qt-project.org</a>.</p>
<br />
<p>
Nokia, Qt and their respective logos are trademarks of Nokia Corporation
in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. <a title="Privacy Policy"
href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>
|