summaryrefslogtreecommitdiffstats
path: root/doc/xml-sax-features-walkthrough.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/xml-sax-features-walkthrough.doc')
-rw-r--r--doc/xml-sax-features-walkthrough.doc24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/xml-sax-features-walkthrough.doc b/doc/xml-sax-features-walkthrough.doc
index defb87b8f..5328a9baf 100644
--- a/doc/xml-sax-features-walkthrough.doc
+++ b/doc/xml-sax-features-walkthrough.doc
@@ -106,8 +106,8 @@ Now let's think about presenting the output: As described in the
\link xml.html#sax2Features TQt SAX2 documentation \endlink
there are three valid combinations of \e
http://xml.org/sax/features/namespace-prefixes
-and \e http://xml.org/sax/features/namespaces: TRUE/TRUE, TRUE/FALSE and
-FALSE/TRUE. To show the relevant output side by side of each other
+and \e http://xml.org/sax/features/namespaces: true/true, true/false and
+false/true. To show the relevant output side by side of each other
and mark them with three labels makes up for a grid layout consisting
of three columns (and thus two lines).
@@ -116,9 +116,9 @@ of three columns (and thus two lines).
The most natural way of presenting XML elements is in a tree.
Thus we use a listview. Its name \e nameSpace indicates that this
one will be used to present the combination of \e
-http://xml.org/sax/features/namespaces being TRUE and
+http://xml.org/sax/features/namespaces being true and
\e http://xml.org/sax/features/namespace-prefixes
-being FALSE -- the default configuration of a \l TQXmlSimpleReader.
+being false -- the default configuration of a \l TQXmlSimpleReader.
Being the first grid entry the \e nameSpace listview will
appear in the upper left corner of the virtual grid.
@@ -157,12 +157,12 @@ Then we ask the \e handler to present the data in the \e namespacePrefix
listview.
\printline namespace-prefixes
-\printline TRUE
+\printline true
Now we modify the behaviour of the \e reader and change
-\e http://xml.org/sax/features/namespace-prefixes from the default FALSE
-to TRUE. The \e http://xml.org/sax/features/namespaces feature has
-still its default setting TRUE.
+\e http://xml.org/sax/features/namespace-prefixes from the default false
+to true. The \e http://xml.org/sax/features/namespaces feature has
+still its default setting true.
\printline reset
@@ -172,14 +172,14 @@ beginning of the document again.
\printline parse
Finally we parse the XML file a second time with the changed reader
-settings (TRUE/TRUE).
+settings (true/true).
\printline prefix
\printuntil parse
Next we prepare and use the upper right listview to show the reader results
with the feature setting \e http://xml.org/sax/features/namespaces
-FALSE and \e http://xml.org/sax/features/namespace-prefixes TRUE.
+false and \e http://xml.org/sax/features/namespace-prefixes true.
\printline namespace label
\printuntil namespace prefix label
@@ -370,11 +370,11 @@ Obviously \e attribute is a child of
the current \e element.
-\printline TRUE
+\printline true
\printline }
To prevent the reader from throwing an error we have to
-return TRUE when we successfully dealt with an
+return true when we successfully dealt with an
element's start tag.
\printline endElement