1This example demonstrates how to use a SAX parser to build a custom DOM 2inherited from libxml++ nodes. If an application document is sufficiently 3complex, it will have an object hierarchy structure. libxml++ provides a 4generic tree structure with serialization and parsing facilities builtin. 5By making classes inherit from libxml++, it is easy to leverage these 6facilities. Classic examples of a custom DOM are the W3C HTML and SVG DOM. 7This example barely scratches the surface of a SVG DOM ;-)