File: xml-processing.html

package info (click to toggle)
qt4-x11 4%3A4.8.2%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 701,696 kB
  • sloc: cpp: 2,686,179; ansic: 375,485; python: 25,859; sh: 19,349; xml: 17,091; perl: 14,765; yacc: 5,383; asm: 5,038; makefile: 1,259; lex: 555; ruby: 526; objc: 347; cs: 112; pascal: 112; php: 54; sed: 34
file content (136 lines) | stat: -rw-r--r-- 14,446 bytes parent folder | download
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?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" />
<!-- xml-processing.qdoc -->
  <title>Qt 4.8: XML Processing</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>XML Processing</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#topics">Topics:</a></li>
<li class="level1"><a href="#classes-for-xml-processing">Classes for XML Processing</a></li>
</ul>
</div>
<h1 class="title">XML Processing</h1>
<span class="subtitle"></span>
<!-- $$$xml-processing.html-description -->
<div class="descr"> <a name="details"></a>
<p>In addition to core XML support, classes for higher level querying and manipulation of XML data are provided by the <a href="qtxmlpatterns.html">QtXmlPatterns</a> module. In the <a href="qtsvg.html">QtSvg</a> module, the <a href="qsvgrenderer.html">QSvgRenderer</a> and <a href="qsvggenerator.html">QSvgGenerator</a> 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 <a href="qt.html#escape">Qt::escape</a>() and <a href="qt.html#convertFromPlainText">Qt::convertFromPlainText</a>().</p>
<a name="topics"></a>
<h2>Topics:</h2>
<ul>
<li><a href="#classes-for-xml-processing">Classes for XML Processing</a></li>
<li><a href="xml-namespaces.html">An Introduction to Namespaces</a></li>
<li><a href="xml-streaming.html">XML Streaming</a></li>
<li><a href="xml-sax.html">The SAX Interface</a></li>
<li><a href="xml-dom-tml.html">Working with the DOM Tree</a></li>
<li><a href="xmlprocessing.html">XQuery/XPath and XML Schema</a><ul>
<li><a href="xquery-introduction.html">A Short Path to XQuery</a></li>
</ul>
</li>
</ul>
<a name="classes-for-xml-processing"></a>
<h2>Classes for XML Processing</h2>
<p>These classes are relevant to XML users.</p>
<table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qabstractmessagehandler.html">QAbstractMessageHandler</a></p></td><td class="tblDescr"><p>Callback interface for handling messages</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qabstracturiresolver.html">QAbstractUriResolver</a></p></td><td class="tblDescr"><p>Callback interface for resolving Uniform Resource Identifiers</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a></p></td><td class="tblDescr"><p>Abstract base class for modeling non-XML data to look like XML for QXmlQuery</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qabstractxmlreceiver.html">QAbstractXmlReceiver</a></p></td><td class="tblDescr"><p>Callback interface for transforming the output of a QXmlQuery</p></td></tr>
<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="qsimplexmlnodemodel.html">QSimpleXmlNodeModel</a></p></td><td class="tblDescr"><p>Implementation of QAbstractXmlNodeModel sufficient for many common cases</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsourcelocation.html">QSourceLocation</a></p></td><td class="tblDescr"><p>Identifies a location in a resource by URI, line, and column</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="qxmlformatter.html">QXmlFormatter</a></p></td><td class="tblDescr"><p>Implementation of QXmlSerializer for transforming XQuery output into formatted XML</p></td></tr>
<tr class="even 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="odd topAlign"><td class="tblName"><p><a href="qxmlitem.html">QXmlItem</a></p></td><td class="tblDescr"><p>Contains either an XML node or an atomic value</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="qxmlname.html">QXmlName</a></p></td><td class="tblDescr"><p>Represents the name of an XML node, in an efficient, namespace-aware way</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlnamepool.html">QXmlNamePool</a></p></td><td class="tblDescr"><p>Table of shared strings referenced by instances of QXmlName</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="qxmlnodemodelindex.html">QXmlNodeModelIndex</a></p></td><td class="tblDescr"><p>Identifies a node in an XML node model subclassed from QAbstractXmlNodeModel</p></td></tr>
<tr class="even 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="odd topAlign"><td class="tblName"><p><a href="qxmlquery.html">QXmlQuery</a></p></td><td class="tblDescr"><p>Performs XQueries on XML data, or on non-XML data modeled to look like XML</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&#x2e; parsers)</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlresultitems.html">QXmlResultItems</a></p></td><td class="tblDescr"><p>Iterates through the results of evaluating an XQuery in QXmlQuery</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qxmlschema.html">QXmlSchema</a></p></td><td class="tblDescr"><p>Loading and validation of a W3C XML Schema</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlschemavalidator.html">QXmlSchemaValidator</a></p></td><td class="tblDescr"><p>Validates XML instance documents against a W3C XML Schema</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qxmlserializer.html">QXmlSerializer</a></p></td><td class="tblDescr"><p>Implementation of QAbstractXmlReceiver for transforming XQuery output into unformatted XML</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>
<tr class="even topAlign"><td class="tblName"><p><a href="qxmlstreamattribute.html">QXmlStreamAttribute</a></p></td><td class="tblDescr"><p>Represents a single XML attribute</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlstreamattributes.html">QXmlStreamAttributes</a></p></td><td class="tblDescr"><p>Represents a vector of QXmlStreamAttribute</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qxmlstreamentitydeclaration.html">QXmlStreamEntityDeclaration</a></p></td><td class="tblDescr"><p>Represents a DTD entity declaration</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlstreamentityresolver.html">QXmlStreamEntityResolver</a></p></td><td class="tblDescr"><p>Entity resolver for a QXmlStreamReader</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qxmlstreamnamespacedeclaration.html">QXmlStreamNamespaceDeclaration</a></p></td><td class="tblDescr"><p>Represents a namespace declaration</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlstreamnotationdeclaration.html">QXmlStreamNotationDeclaration</a></p></td><td class="tblDescr"><p>Represents a DTD notation declaration</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qxmlstreamreader.html">QXmlStreamReader</a></p></td><td class="tblDescr"><p>Fast parser for reading well-formed XML via a simple streaming API</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qxmlstreamwriter.html">QXmlStreamWriter</a></p></td><td class="tblDescr"><p>XML writer with a simple streaming API</p></td></tr>
</table>
</div>
<!-- @@@xml-processing.html -->
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</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>