This example shows how to re-use implementations of base parsers in derived
parsers using the mix-in C++ idiom.


The example consist of the following files:


schema.xsd
  XML Schema which defined two data types: base and derived..


instance.xml
  Sample XML instance document.


schema-parser-templates.hxx
schema-parser-templates.txx
  Parser templates generated by xsd from schema.xsd.


driver.cxx
  Contains examples that show how to mix-in implementations of base parsers
  into derived parsers. The examples differ in the types that the post()
  functions return. They cover covariant return types, non-covariant return
  types, same return type, and no return (void).


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

$ ./driver instance.xml


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