Re: Non-prefix namespace support

On Thu, 26 Nov 2009 14:32:40 +0100, Jonathan Watt <jwatt@jwatt.org> wrote:
> Would it be possible to add some sort of prefix independent namespace  
> support to
> selectors? This would allow querySelector/querySelectorsAll (which don't  
> support
> prefixes) to handle namespaced content.
>
> Perhaps something like:
>
>   url("http://www.w3.org/XML/1998/namespace")|tag
>
> or:
>
>   namespace("http://www.w3.org/XML/1998/namespace")|tag
>
> or:
>
>   ns("http://www.w3.org/XML/1998/namespace")|tag
>
> Background:
>
> http://lists.w3.org/Archives/Public/public-webapps/2009OctDec/thread.html#msg971

It's certainly possible, but given how rarely this is needed I'm not  
really convinced this is worth the added complexity. There's plenty of  
workarounds available at the DOM-level.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 30 November 2009 07:57:33 UTC