Re: When can a node's prefix or localName contain a colon?

Simon Pieters:
> I don't think it's possible to get a prefix that contains a colon, but  
> localName is trivial:
>
>    document.body.appendChild(document.createElement('foo:bar'));

Shouldn’t localName be null in that case?

  http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-2141741547

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Monday, 2 June 2008 09:36:16 UTC