Re: Distributed Extensibility

Philip Taylor wrote:
> [...]
> document.namespaces is an array of namespace objects (for all the 
> explicitly- and implicity-declared namespaces in the document), each 
> with properties "name" and "urn". [...]

Actually, it's not just an array - you can access it by scope-name too, i.e.

     <html xmlns:foo="bar">
     ...
     document.namespaces['foo'].urn == 'bar';

(or you can still access it by array index), and also you can use 
document.namespaces(...) instead of document.namespaces[...] (for name 
and index), and you can do document.namespaces.add(name, urn) (but can't 
remove). Not sure if there are any other bits and pieces.

-- 
Philip Taylor
philip@zaynar.demon.co.uk

Received on Friday, 3 August 2007 12:34:10 UTC