diff options
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 |