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