1This directory contains a number of examples that show how to customize the
2C++/Tree mapping. The following list gives an overview of each example:
3
4calendar
5  Shows how to customize XML Schema built-in types by mapping xsd:date
6  built-in type to the date class from the Boost date_time library.
7
8comments
9  This example shows how to customize the anyType XML Schema built-in
10  type to implement preservation of comments stored in XML documents.
11  Because anyType is a base type for every generated type, you can use
12  this technique to implement custom functionality that spans the
13  entire type system.
14
15contacts
16  Shows how to map a user-defined XML Schema type to a custom C++ class.
17  This example presents the simple case where the customized type is not
18  used as a base in the same schema.
19
20double
21  Shows how to customize parsing and serialization code for the xsd:double
22  XML Schema built-in type. It can be used as a guide on how to customize
23  built-in XML Schema types that are mapped to fundamental C++ types.
24
25mixed
26  Shows how to use type customization to parse and serialize mixed content.
27
28taxonomy
29  Shows how to map user-defined XML Schema types to custom C++ classes.
30  This example presents the complex case where the customized types are
31  inherited from in the same schema.
32
33wildcard
34  Shows how to use type customization to parse and serialize a specific
35  attribute that is matched by a wildcard (anyAttribute).
36
37For more information on the C++/Tree mapping customization see the
38C++/Tree Mapping Customization Guide[1].
39
40[1] http://wiki.codesynthesis.com/Tree/Customization_guide
41