The DOM spec (both level 1 and the level 2 candidate) specifies that the Node interface has a "nodeName" attribute; the spec has a table showing the value of the "nodeName" attribute (and other attributes) for each node type. The table row for the Document node type looks like this: Document #document null null Now, just what does "#document" mean? Does it mean a string consisting of the # character followed by the word "document"? Or is the # some sort of notation indicating a literal string, so that the string itself contains only the word "document"? This is really pretty unclear. I searched the spec for an explanation of the "#" character, but couldn't find one. -adamReceived on Wednesday, 22 March 2000 20:01:13 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:51 GMT