- From: Allen, Michael B (RSCH) <Michael_B_Allen@ml.com>
- Date: Mon, 9 Jul 2001 22:58:45 -0400
- To: "'www-dom@w3c.org'" <www-dom@w3c.org>
Hi, 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? Thanks Mike
Received on Monday, 9 July 2001 22:58:47 UTC