diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-10 12:57:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-10 12:57:06 +0200 |
commit | 884dea7531962b17ef843ac2175faa050e8b0758 (patch) | |
tree | d70950ab2a6f314b06f37faa67252678ce3007b1 /examples/cxx/tree/mixed | |
parent | 0f6ff689dc6bae8fed94da0fcabd39f015e7a62b (diff) |
Add support for ordered types, mixed content
Diffstat (limited to 'examples/cxx/tree/mixed')
-rw-r--r-- | examples/cxx/tree/mixed/README | 6 | ||||
-rw-r--r-- | examples/cxx/tree/mixed/text.xml | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/cxx/tree/mixed/README b/examples/cxx/tree/mixed/README index 9ab3309..fc23faa 100644 --- a/examples/cxx/tree/mixed/README +++ b/examples/cxx/tree/mixed/README @@ -1,8 +1,12 @@ This example shows how to access the underlying DOM nodes in the C++/Tree mapping in order to handle raw, "type-less content" such as mixed content models, anyType/anySimpleType, and any/anyAttribute. + +For an alternative (and recommended) approach that employs ordered +types see the order/mixed example. + For an alternative approach that employes type customization see -examples in the custom/ directory, in particular, custom/mixed and +examples in the custom/ directory, in particular, custom/mixed and custom/wildcard. In this example we use mixed content model to describe text with diff --git a/examples/cxx/tree/mixed/text.xml b/examples/cxx/tree/mixed/text.xml index 69abe8f..9d70397 100644 --- a/examples/cxx/tree/mixed/text.xml +++ b/examples/cxx/tree/mixed/text.xml @@ -2,7 +2,7 @@ <!-- -file : examples/cxx/tree/text/text.xml +file : examples/cxx/tree/mixed/text.xml author : Boris Kolpackov <boris@codesynthesis.com> copyright : not copyrighted - public domain |