From 884dea7531962b17ef843ac2175faa050e8b0758 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Apr 2014 12:57:06 +0200 Subject: Add support for ordered types, mixed content --- examples/cxx/tree/mixed/README | 6 +++++- examples/cxx/tree/mixed/text.xml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/cxx/tree/mixed') 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 @@