This example shows how to access underlying DOM nodes in the C++/Tree
mapping in order to handle "type-less content" such as mixed content
models, xsd:anyType/xsd:anySimpleType, and xsd:any/xsd:anyAttribute.

In this example we use mixed content model to describe text with
embedded links, e.g.,

  This paragraph talks about <a href="uri">time</a>.

The example transforms such text into plain text with references, e.g.,

  This paragraph talks about time[0].

  [0] uri


The example consist of the following files:


text.xsd
  XML Schema which describes "text with links" instance documents.


text.xml
  Sample XML instance document.


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


driver.cxx
  Driver for the example. It first calls one of the parsing functions
  that constructs the in-memory representation from the input file. It
  then uses both the underlying DOM and statically-typed mapping to
  perform the transform.


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

$ ./driver text.xml
