- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- Date: Mon, 24 Feb 2003 15:58:14 GMT
- To: malachi@tremerechantry.com, Richard Tobin <richard@cogsci.ed.ac.uk>
- Cc: Tim Bray <tbray@textuality.com>, xml-names-editor@w3.org
> So, are you saying: > xmlns="http://www.w3.org/blah" > xmlns:other="http://www.other.com" > > the first one has a 'null' namespace name and the second has the 'other' > namespace name? "X is in the namespace http://whatever" and "X's namespace name is http://whatever" mean the same thing. "X is in no namespace" and "X's namespace name is null" mean the same thing. An element is in no namespace if it has no prefix, and there is no default namespace in scope. An attribute is in no namespace if it has no prefix. In the document <foo/> foo is in no namespace, and its namespace name is null. In the document <foo xmlns="http://example.org" xmlns:a="http://other.com" attr1="xyz" a:attr2="abc"/> foo is in the namespace http://example.org and its namespace name is http://example.org attr1 is in no namespace and its namespace name is null attr2 is in the namespace http://other.com and its namespace name is http://other.com -- Richard
Received on Monday, 24 February 2003 10:58:26 UTC