W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: ACTION-87: Selectors API

From: Daniel Schierbeck <daniel.schierbeck@gmail.com>
Date: Sun, 26 Feb 2006 02:25:01 +0100
Message-ID: <4401036D.50909@gmail.com>
To: Jim Ley <jim@jibbering.com>
CC: public-webapi@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT