New and changed files have been committed on the v3_0
branch of the TclXML project. These implement a binding
of libxml2 for TclXML, the idea being to move that functionality
down from TclDOM and provide a SAX-style interface.
There are minimal features at the moment - just start/end tags
and character data. Other callbacks will be added soon,
along with features such as validation (DTD, XSD & RNG).
The guts of the extension are in libxml2/tcllibxml2.c and
libxml2/docObj.c. The former implements the interface between
libxml2 and the TclXML generic layer, the latter implements
a manager for xmlDoc structures wrapped in a Tcl_Obj.
This provides implicit destruction of xmlDoc's.
Enjoy,
Steve Ball
--
Steve Ball | XSLT Standard Library | Training & Seminars
Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas
http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development
Ste...@zv... +---------------------------+---------------------
Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099
|