W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001


From: Allen, Michael B (RSCH) <Michael_B_Allen@ml.com>
Date: Mon, 9 Jul 2001 22:58:45 -0400
Message-ID: <B27EB33BAB29D2119ABF0001FA7EF289053BF05B@ewfd04.exchange.ml.com>
To: "'www-dom@w3c.org'" <www-dom@w3c.org>

Is a NodeNamedMap ever used to hold anything but the Attrs of an
Element? Might an Attr be an entry in more than one
NamedNodeMap?  A simply way to implement NamedNodeMap in
c is to just add nextAttr and previousAtt members to Node and
make NamedNodeMap a struct like:

struct DOM_NamedNodeMap {
   unsigned long length;
   DOM_Node *first;
   DOM_Node *last;

If the answers to the above questions are "no" I don't see a problem
with this technique. Do you?

Received on Monday, 9 July 2001 22:58:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC