summaryrefslogtreecommitdiffstats
path: root/doc/src/xml-processing/xml-processing.qdoc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-08-19 07:10:24 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-08-19 07:10:24 (GMT)
commit5fb5c01bd0ac234eaca890d97053c7b0772861a3 (patch)
tree2cfb189131d9f9c296b04101af45088c67bfa4c6 /doc/src/xml-processing/xml-processing.qdoc
parent0325e1af2b53f62db6da27ae43ea62837e36c5ae (diff)
parentaf98f27a847688e53ab1d34b4a9c04bdc63fe3e1 (diff)
downloadQt-5fb5c01bd0ac234eaca890d97053c7b0772861a3.zip
Qt-5fb5c01bd0ac234eaca890d97053c7b0772861a3.tar.gz
Qt-5fb5c01bd0ac234eaca890d97053c7b0772861a3.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'doc/src/xml-processing/xml-processing.qdoc')
-rw-r--r--doc/src/xml-processing/xml-processing.qdoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/xml-processing/xml-processing.qdoc b/doc/src/xml-processing/xml-processing.qdoc
index 44c5450..6e48515 100644
--- a/doc/src/xml-processing/xml-processing.qdoc
+++ b/doc/src/xml-processing/xml-processing.qdoc
@@ -121,18 +121,18 @@
Before we can apply a namespace to element or attribute names we must
declare it.
- Namespaces are URIs like \e http://www.qtsoftware.com/fnord/book/. This
+ Namespaces are URIs like \e http://www.example.com/fnord/book/. This
does not mean that data must be available at this address; the URI is
simply used to provide a unique name.
We declare namespaces in the same way as attributes; strictly speaking
they \e are attributes. To make for example \e
- http://www.qtsoftware.com/fnord/ the document's default XML namespace \e
+ http://www.example.com/fnord/ the document's default XML namespace \e
xmlns we write
\snippet doc/src/snippets/code/doc_src_qtxml.qdoc 8
- To distinguish the \e http://www.qtsoftware.com/fnord/book/ namespace from
+ To distinguish the \e http://www.example.com/fnord/book/ namespace from
the default, we must supply it with a prefix:
\snippet doc/src/snippets/code/doc_src_qtxml.qdoc 9
@@ -159,12 +159,12 @@
\snippet doc/src/snippets/code/doc_src_qtxml.qdoc 10
Within the \e document element we have two namespaces declared. The
- default namespace \e http://www.qtsoftware.com/fnord/ applies to the \e
+ default namespace \e http://www.example.com/fnord/ applies to the \e
book element, the \e chapter element, the appropriate \e title element
and of course to \e document itself.
The \e book:author and \e book:title elements belong to the namespace
- with the URI \e http://www.qtsoftware.com/fnord/book/.
+ with the URI \e http://www.example.com/fnord/book/.
The two \e book:author attributes \e title and \e name have no XML
namespace assigned. They are only members of the "traditional"
@@ -172,7 +172,7 @@
\e title attributes in \e book:author are forbidden.
In the above example we circumvent the last rule by adding a \e title
- attribute from the \e http://www.qtsoftware.com/fnord/ namespace to \e
+ attribute from the \e http://www.example.com/fnord/ namespace to \e
book:author: the \e fnord:title comes from the namespace with the
prefix \e fnord that is declared in the \e book:author element.
@@ -212,7 +212,7 @@
local part of \e book:title.)
\o The \e {namespace URI} ("Uniform Resource Identifier") is a unique
identifier for a namespace. It looks like a URL
- (e.g. \e http://www.qtsoftware.com/fnord/ ) but does not require
+ (e.g. \e http://www.example.com/fnord/ ) but does not require
data to be accessible by the given protocol at the named address.
\endlist