Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README | H A D | 29-Sep-2013 | 500 | 7 | 7 | |
example.xml | H A D | 29-Sep-2013 | 1.5 KiB | 25 | 23 | |
main.cc | H A D | 28-Oct-2015 | 2.2 KiB | 81 | 42 | |
svgdocument.cc | H A D | 28-Oct-2015 | 1 KiB | 34 | 7 | |
svgdocument.h | H A D | 28-Oct-2015 | 1.2 KiB | 42 | 12 | |
svgelement.cc | H A D | 29-Sep-2013 | 1.2 KiB | 47 | 16 | |
svgelement.h | H A D | 24-Jul-2015 | 1.3 KiB | 54 | 17 | |
svggroup.h | H A D | 29-Sep-2013 | 1.1 KiB | 43 | 14 | |
svgparser.cc | H A D | 28-Oct-2015 | 6.1 KiB | 193 | 116 | |
svgparser.h | H A D | 24-Jul-2015 | 1.9 KiB | 63 | 29 | |
svgpath.h | H A D | 29-Sep-2013 | 1.2 KiB | 49 | 19 |
README
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 ;-)