summaryrefslogtreecommitdiffstats
path: root/doc/html/tqxmlsimplereader.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqxmlsimplereader.html')
-rw-r--r--doc/html/tqxmlsimplereader.html38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/tqxmlsimplereader.html b/doc/html/tqxmlsimplereader.html
index e67d3546b..987e1f16f 100644
--- a/doc/html/tqxmlsimplereader.html
+++ b/doc/html/tqxmlsimplereader.html
@@ -70,11 +70,11 @@ simple XML reader (parser).
Constructs a simple XML reader with the following feature settings:
<center><table cellpadding="4" cellspacing="2" border="0">
<tr bgcolor="#a2c511"> <th valign="top">Feature <th valign="top">Setting
-<tr bgcolor="#f0f0f0"> <td valign="top"><em>http://xml.org/sax/features/namespaces</em> <td valign="top">TRUE
-<tr bgcolor="#d0d0d0"> <td valign="top"><em>http://xml.org/sax/features/namespace-prefixes</em> <td valign="top">FALSE
+<tr bgcolor="#f0f0f0"> <td valign="top"><em>http://xml.org/sax/features/namespaces</em> <td valign="top">true
+<tr bgcolor="#d0d0d0"> <td valign="top"><em>http://xml.org/sax/features/namespace-prefixes</em> <td valign="top">false
<tr bgcolor="#f0f0f0"> <td valign="top"><em>http://trolltech.com/xml/features/report-whitespace-only-CharData</em>
-<td valign="top">TRUE
-<tr bgcolor="#d0d0d0"> <td valign="top"><em>http://trolltech.com/xml/features/report-start-end-entity</em> <td valign="top">FALSE
+<td valign="top">true
+<tr bgcolor="#d0d0d0"> <td valign="top"><em>http://trolltech.com/xml/features/report-start-end-entity</em> <td valign="top">false
</table></center>
<p> More information about features can be found in the <a href="xml.html#sax2Features">TQt SAX2 overview.</a>
<p> <p>See also <a href="#setFeature">setFeature</a>().
@@ -85,9 +85,9 @@ Destroys the simple XML reader.
<h3 class=fn>bool <a name="parse"></a>TQXmlSimpleReader::parse ( const&nbsp;<a href="tqxmlinputsource.html">TQXmlInputSource</a>&nbsp;*&nbsp;input, bool&nbsp;incremental )<tt> [virtual]</tt>
</h3>
-Reads an XML document from <em>input</em> and parses it. Returns FALSE
-if the parsing detects an error; otherwise returns TRUE.
-<p> If <em>incremental</em> is TRUE, the parser does not return FALSE when
+Reads an XML document from <em>input</em> and parses it. Returns false
+if the parsing detects an error; otherwise returns true.
+<p> If <em>incremental</em> is true, the parser does not return false when
it reaches the end of the <em>input</em> without reaching the end of the
XML file. Instead it stores the state of the parser so that
parsing can be continued at a later stage when more data is
@@ -96,10 +96,10 @@ with parsing. This class stores a pointer to the input source <em>input</em> and
input souce. This means that you should not delete the input
source <em>input</em> until you've finished your calls to
parseContinue(). If you call this function with <em>incremental</em>
-TRUE whilst an incremental parse is in progress a new parsing
+true whilst an incremental parse is in progress a new parsing
session will be started and the previous session lost.
-<p> If <em>incremental</em> is FALSE, this function behaves like the normal
-parse function, i.e. it returns FALSE when the end of input is
+<p> If <em>incremental</em> is false, this function behaves like the normal
+parse function, i.e. it returns false when the end of input is
reached without reaching the end of the XML file and the parsing
cannot be continued.
<p> <p>See also <a href="#parseContinue">parseContinue</a>() and <a href="tqsocket.html">TQSocket</a>.
@@ -110,8 +110,8 @@ cannot be continued.
Continues incremental parsing; this function reads the input from
the <a href="tqxmlinputsource.html">TQXmlInputSource</a> that was specified with the last <a href="#parse">parse</a>()
command. To use this function, you <em>must</em> have called parse()
-with the incremental argument set to TRUE.
-<p> Returns FALSE if a parsing error occurs; otherwise returns TRUE.
+with the incremental argument set to true.
+<p> Returns false if a parsing error occurs; otherwise returns true.
<p> If the input source returns an empty string for the function
<a href="tqxmlinputsource.html#data">TQXmlInputSource::data</a>(), then this means that the end of the XML
file has been reached; this is quite important, especially if you
@@ -123,7 +123,7 @@ when there is more data available to parse.
<p> This function assumes that the end of the XML document is reached
if the <a href="tqxmlinputsource.html#next">TQXmlInputSource::next</a>() function returns
TQXmlInputSource::EndOfDocument. If the parser has not finished
-parsing when it encounters this symbol, it is an error and FALSE
+parsing when it encounters this symbol, it is an error and false
is returned.
<p> <p>See also <a href="#parse">parse</a>() and <a href="tqxmlinputsource.html#next">TQXmlInputSource::next</a>().
@@ -135,21 +135,21 @@ Sets the state of the feature <em>name</em> to <em>value</em>:
<center><table cellpadding="4" cellspacing="2" border="0">
<tr bgcolor="#a2c511"> <th valign="top">Feature <th valign="top">Notes
<tr bgcolor="#f0f0f0"> <td valign="top"><em>http://xml.org/sax/features/namespaces</em>
-<td valign="top">If this feature is TRUE, namespace processing is
+<td valign="top">If this feature is true, namespace processing is
performed.
<tr bgcolor="#d0d0d0"> <td valign="top"><em>http://xml.org/sax/features/namespace-prefixes</em>
-<td valign="top">If this feature is TRUE, the the original prefixed names
+<td valign="top">If this feature is true, the the original prefixed names
and attributes used for namespace declarations are
reported.
<tr bgcolor="#f0f0f0"> <td valign="top"><em>http://trolltech.com/xml/features/report-whitespace-only-CharData</em>
-<td valign="top">If this feature is TRUE, CharData that only contain
+<td valign="top">If this feature is true, CharData that only contain
whitespace are not ignored, but are reported via
<a href="tqxmlcontenthandler.html#characters">TQXmlContentHandler::characters</a>().
<tr bgcolor="#d0d0d0"> <td valign="top"><em>http://trolltech.com/xml/features/report-start-end-entity</em>
-<td valign="top">If this feature is TRUE, the parser reports
+<td valign="top">If this feature is true, the parser reports
TQXmlContentHandler::startEntity() and
TQXmlContentHandler::endEntity() events. So character data
-might be reported in chunks. If this feature is FALSE, the
+might be reported in chunks. If this feature is false, the
parser does not report those events, but rather silently
substitutes the entities and reports the character data in
one chunk.
@@ -158,7 +158,7 @@ one chunk.
<pre> ** $Id: qt/tagreader.cpp 3.3.8 edited Jan 11 14:46 $
</pre><pre> <a name="x2125"></a> reader.<a href="#setFeature">setFeature</a>( "http://xml.org/sax/features/namespace-prefixes",
- TRUE );
+ true );
</pre>
<p> (Code taken from xml/tagreader-with-features/tagreader.cpp)
<p> <p>See also <a href="tqxmlreader.html#feature">feature</a>() and <a href="tqxmlreader.html#hasFeature">hasFeature</a>().