This example shows how to use the C++/Tree mapping on top of the Berkeley
DB XML embedded XML database. This example is described in detail in the
"CodeSynthesis XSD and Berkeley DB XML Integration Guide" which can be
found in the documentation/cxx/tree/dbxml directory of the XSD
distribution. You will need the Berkeley DB XML libraries[1] installed in
order to build and run this example.

[1] http://www.sleepycat.com/products/bdbxml.html

The example consist of the following files:

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

library.hxx
library.cxx
  Data types that represent the given vocabulary, a set of parsing
  functions that convert XML instance documents to a tree-like in-memory
  data structure, and a set of serialization functions that convert the
  in-memory representation back to XML. These are generated by XSD from
  library.xsd.

driver.cxx
  Driver for the example. It performs the following four operations on
  the database:

    * Create a new document in DB from an object representation
    * Create an object representation from a document in DB
    * Create an object representation from a document fragment in DB
    * Update a document fragment in DB from an object representation


To run the example simply execute:

$ ./driver
