summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/api/qxmlschema.cpp
diff options
context:
space:
mode:
authorTobias Koenig <tokoe@kde.org>2009-06-03 17:40:41 +0200
committerTobias Koenig <tokoe@kde.org>2009-06-03 17:40:41 +0200
commitf7741b78c90abcb272345810d55e446a7f390032 (patch)
tree7aa360dbd0d59bb2a6bd0205020693adb169bf93 /src/xmlpatterns/api/qxmlschema.cpp
parent4785ed9b76104c272476f62780dde086e21b20ce (diff)
Fixed typo in apidocs and extended example code
Diffstat (limited to 'src/xmlpatterns/api/qxmlschema.cpp')
-rw-r--r--src/xmlpatterns/api/qxmlschema.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xmlpatterns/api/qxmlschema.cpp b/src/xmlpatterns/api/qxmlschema.cpp
index ec370cac5b..c6dc9b2386 100644
--- a/src/xmlpatterns/api/qxmlschema.cpp
+++ b/src/xmlpatterns/api/qxmlschema.cpp
@@ -58,6 +58,11 @@
that can be used further for validation of XML instance documents via
\l{QXmlSchemaValidator}.
+ The following example shows how to load a XML Schema file from the network
+ and test whether it is a valid schema document:
+
+ \snippet doc/src/snippets/qxmlschema/main.cpp 0
+
\sa QXmlSchemaValidator, {xmlpatterns/schema}{XML Schema Validation Example}
*/