This example shows how to use the embedded C++/Parser mapping
to construct a custom in-memory representation of XML instance
documents described by XML Schema definitions.

The example consists of the following files:

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

library.xml
  Sample XML instance document.

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-skel.hxx
library-skel.ixx
library-skel.cxx
  Parser skeletons generated by XSD/e from library.xsd and
  library.map.

library-impl.hxx
library-impl.cxx
  Parser implementations that construct custom in-memory
  representations from XML instance using types from
  library.hxx. These are hand-written implementations of
  the parser skeletons defined in library-skel.hxx.

driver.cxx
  Driver for the example. It first constructs a parser
  instance from all the individual parsers found in
  library-impl.hxx. In then invokes this parser instance
  to parse the input file and produce the in-memory
  representation. Finally, it prints the content of the
  in-memory representation to STDERR.

To run the example on the sample XML instance document simply
execute:

$ ./driver library.xml

This example also shows how to perform custom XML Schema to
C++ namespace mapping using the --namespace-map option.
