This example shows how to use the Embedded C++/Serializer
mapping to create XML documents from a custom in-memory
object model.

The example consists of the following files:

library.xsd
  XML Schema which describes a library of books.

library.hxx
  Types that describe a library of books in C++. These are
  hand-written.

library.map
  Type map. It maps XML Schema types defined in library.xsd
  to C++ types defined in library.hxx.

library-sskel.hxx
library-sskel.ixx
library-sskel.cxx
  Serializer skeletons generated by XSD/e from library.xsd
  and library.map.

library-simpl.hxx
library-simpl.cxx
  Serializer implementations that serialize the custom
  in-memory object model to XML. These are hand-written
  implementations of the serializer skeletons defined in
  library-sskel.hxx.

driver.cxx
  Driver for the example. It first constructs a sample
  object model using the types from library.hxx. It then
  creates a serializer instance using all the individual
  serializers found in library-simpl.hxx. Finally, it
  invokes this serializer instance to serialize the sample
  object model to an XML document which is printed to STDOUT.

To run the example simply execute:

$ ./driver
