aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/parser
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-03-26 17:09:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-03-26 17:09:53 +0200
commite4c22d3686da0e973e21eae0561c1169c0eeff36 (patch)
tree0a49e9167edc88938b0287949080931314e8afea /examples/cxx/parser
parent0d62005a3ff3b62d02c2eb3fd8644e0e19b202e8 (diff)
Implement support for XML Schema polymorphism in C++/Hybrid
examples/cxx/hybrid/polyroot/ examples/cxx/hybrid/polymorphism/: new examples tests/cxx/hybrid/polymorphism/: new tests
Diffstat (limited to 'examples/cxx/parser')
-rw-r--r--examples/cxx/parser/README16
-rw-r--r--examples/cxx/parser/polymorphism/README6
2 files changed, 15 insertions, 7 deletions
diff --git a/examples/cxx/parser/README b/examples/cxx/parser/README
index eaf9342..8afc5f9 100644
--- a/examples/cxx/parser/README
+++ b/examples/cxx/parser/README
@@ -1,7 +1,7 @@
-This directory contains a number of examples that show how to
-use the Embedded C++/Parser mapping. The following list gives
-an overview of each example. See the README files in example
-directories for more information on each example.
+This directory contains a number of examples that show how to use the
+Embedded C++/Parser mapping. The following list gives an overview of
+each example. See the README files in example directories for more
+information on each example.
hello
A simple "Hello, world!" example that shows how to parse XML
@@ -30,3 +30,11 @@ multiroot
mixed
Shows how to handle raw, "type-less content" such as mixed content
models, anyType/anySimpleType, and any/anyAttribute.
+
+polymorphism
+ Shows how to handle XML vocabularies that use XML Schema polymorphism
+ features such as the xsi:type attribute and substitution groups.
+
+polyroot
+ Shows how to handle XML vocabularies with polymorphic document root
+ elements.
diff --git a/examples/cxx/parser/polymorphism/README b/examples/cxx/parser/polymorphism/README
index 0b3d749..88140de 100644
--- a/examples/cxx/parser/polymorphism/README
+++ b/examples/cxx/parser/polymorphism/README
@@ -1,7 +1,7 @@
-This example shows how to handle XML Schema polymorphism features such
+This example shows how to handle the XML Schema polymorphism features such
as xsi:type attributes and substitution groups in the Embedded C++/Parser
-mapping. The case when xsi:type or substitution groups are used on root
-elements is covered in the polyroot examples.
+mapping. The case where xsi:type or substitution groups are used on document
+root elements is covered in the polyroot examples.
The example consists of the following files: