Re: ACTION-87: Selectors API

Jim Ley wrote:
>
> "Daniel Schierbeck" <daniel.schierbeck@gmail.com>
>>  var paragraphs = document.getElementsBySelector('xh|p', {xh: 
>> 'http://www.w3.org/xhtml'});
>
> document.selectorsSelectElements(".chicken",{ 
> lookupNamespaceURI=function(str) { return {egg:"urn:chicken", 
> donkey:"urn:shiny"}[str] });
>
> Should do that...
>
> Jim. 
I was hoping for something... um... simpler?


Daniel

Received on Sunday, 26 February 2006 01:24:37 UTC