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

Questions on Attr, NamedNodeMap, and namespaces

From: Cathi Davey <cathi@digicool.com>
Date: Fri, 09 Jul 1999 09:41:07 -0400
Message-ID: <3785FBF3.B7D3A705@digicool.com>
To: www-dom@w3.org
Hello.  I'm new to both XML and DOM so any help is greatly appreciated.
These are probably very basic questions but I'm a bit confused.

1.  In the spec for the Core Level 1, under the Interface Attr, it says
"the Node attributes parentNode, previousSibling, and nextSibling have a
null value for Attr objects."   Does this mean that every attribute has
an attr object? If so, it's not a child or an attribute right?  The
value of the attribute is an attr object.

2.  NamedNodeMap - What do you mean by a map?

3.  How does dom handle namespaces?  How do you check for foo:bar?
(Given that foo is just shorthand for a longer id)

Received on Friday, 9 July 1999 09:39:01 UTC

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