From: Steve B. <Ste...@ex...> - 2006-01-19 20:38:16
|
Ben, I did some work on the domtree example last year to make it work with tktreectrl, see examples/domtree-treectrl.tcl (display of the document tree works, but I haven't hooked up the DOM events yet). Although I use the binary installation of TclXML (ie. w/- libxml2), I don't recall there being anything in there that wouldn't work with the Tcl implementation. With some limitations, the tkxmllint application should work with TclDOM/tcl. It won't be able to perform DTD/XSD/RNG validation, but the basic read-file/parse/serialise operation should work. Also, there's always the test suite. Tests are marked as whether they are specific to a particular parser, but most of them apply to all implementations. Now, both TclXML/TclDOM packages are meant to be API compatible so this shouldn't be an issue (modulo unsupported features, like validation, XPath, etc). If there are examples in the distribution that don't work with v3.1 then please report that as a bug on SF. Finally, if you need help with TclXML and/or TclDOM then please either write to the list or to me directly and let us know what you are trying to do. Anyone on the list, or myself in particular, can then respond. Anyone should feel free to add the responses to a Wiki page. HTHs, Steve Ball --- Steve Ball | XSLT Standard Library | Training & Seminars Explain | Web Tcl Complete | XML XSL Schemas http://www.explain.com.au/ | TclXML TclDOM | Tcl, Web Development Ste...@ex... +--------------------------- +--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 On 20/01/2006, at 4:04 AM, Benjamin Allan wrote: > > > I'm desperately trying to find a working detailed example of > tcldom usage for the current tclxml3.1 based distribution. > The demos I find provided in the installation (domtree etc) > all seem to require either one of the binary xml parsers > or v 2.5 of the xml or dom packages. Does anyone have some > code to share based on tclxml3.1 and the pure tcl parser? > |