From: Joe E. <jen...@fl...> - 2002-09-02 16:42:26
|
Derek Fountain wrote: > I notice from recent posts to this list that tcldom has some xpath support - > selectNode and createNode. I've started to rely on these as they make my > scripts much easier to write, and I'm at the point of ripping out all my DOM > walking code and replacing it with selectNode calls. > > Before I do this I ought to check: since these calls are non standard, what > is the prospect for their future? Will they get replaced with something else, > or can I assume they'll be available on all forthcoming tclxml versions for > the foreseeable future? The Expat-based implementation (in tcldom/src, formerly known as TclDOM-Pro) doesn't include XPath support, and probably never will unless someone else takes the trouble to implement it. I don't plan to -- IMO implementing XPath is more trouble than it's worth. (Personally, I use a homegrown XML query language built on top of TclDOM; it has most of the power of XPath, but was significantly easier to implement). --Joe English jen...@fl... |