W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

RE: adding addressing capabilities to the DOM

From: Julian Reschke <reschke@medicaldataservice.de>
Date: Mon, 17 Apr 2000 08:08:37 -0400 (EDT)
To: <www-dom@w3.org>
Message-ID: <NCBBIPMOPKLLGKJPBINCKEKHEBAA.reschke@medicaldataservice.de>
Regarding:

> doc.setVariableBinding('foo', 123);

I don't like that idea. This would mean that either the current node or the
document node would need to be able to store these bindings, and that they
are visible to every user of this DOM.

Perhaps it would be a better approach to look at Microsoft's DOMSelection
interface (see
http://msdn.microsoft.com/xml/general/msxmlprev01262000.asp#msxmlprev_newint
erfaces) -- an object that represents the query (which would allow to parse
the query once and to re-use it several times without reparsing). I think
this would be the right place to hold variable bindings as well...

Julian
Received on Tuesday, 18 April 2000 11:26:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT