From: Steve B. <Ste...@zv...> - 2002-09-24 21:26:25
|
Hi All, Back from the Tcl Conference now... those trans-Pacific flights are such a joy because they give you a loooong time to hack code! Well, at least until the TiBook's battery runs out ;-) I have checked in my changes to the TclXML, TclDOM and TclXSLT packages. The main additions are to TclXSLT; extension elements have been implemented as well as preservation of XPath object data types. Implementing extension elements has opened a can of worms :-( I'd stear clear of them until I've sorted out the implications. Specifically, making nodes in the stylesheet available to the application conflicts with TclDOM, since both TclDOM and libxslt use the _private hook in the xmlNode structure. Preserving XPath object data types is a happier story. XPath objects have four types: nodeset, boolean, number and string. These are mapped to a Tcl list of TclDOM nodes, boolean, double and (surprise) string objects. The return result Tcl_Obj is mapped back to one of the XPath data types. No more pesky parsing of string values! 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 |