> > > Based on my assumption that most DOM code is eventually going to use > XPath > > to some degree, not adding this API makes it _impossible_ to write > > implementation independent code. > > No. It just means that your code has to carry around an XPath > implementation. Yuckk!! > > > XPath _IS_ the "independent API" > > If that were true, there'd be nothing the DOM need do. But I don't think > that's what you're trying to say. > You're right, that's *not* what I'm trying saying. In your previous email you implied that we might need to define another higher-level querying API that is independent of both DOM & SAX for this purpose: Joe Kesselman wrote: > 3) It is unclear that a querying API actually belongs inside the DOM at > all. One can argue that querying applies across document models -- one > might wish to apply a query to a SAX stream, for example -- and > thus it may want an independent API, which DOM implementations could > > support but which might also be available in other contexts. What I'm saying is -- this is *exactly* what XPath was intended for. What we need is the *bridge* between XPath->DOM, XPath->SAX, and XPath->???, etc. -aaronReceived on Tuesday, 18 April 2000 13:03:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:51 GMT