DOMC is a light weight implementation of the DOM in ANSI c as specified in the W3C Document Object Model Level 1, Level 2, and Level 2 Events recommendations.
The DOM is the W3C recommended way to manipulate XML and HTML documements as a tree of nodes. It is the more sophisticated but more memory constraining alternative to the SAX api.
In the spirit of Expat and the community process I encourage users to contribute improvements and bug fixes although as cited in the the MIT License you are not obligated to do so. The codebase is small and should be highly portable however it has not been compiled on any platform other than Linux. I believe the only non-ANSI code in DOMC is the use of strdup
which can be replaced with a simple #define
. The Expat XML parser is included in the distribution and will enable DOMC to load and store documents however it is not required (you can easily supplement your own serialization functions).
Relevant Technical Documentation
DOM Level 1 API Documentation |
News
domc-0.5.0 released
The Document Object Model Level 2 Events recommendation has been implemented. There are no mutation events but the
domc-0.4.0 released
There have been only minor bug fixes since 0.3 but the build process has been improved greatly.
|