Re: Selectors API naming

On Dec 19, 2006, at 21:50, Anne van Kesteren wrote:
> On Tue, 19 Dec 2006 21:35:17 +0100, Dave Massy  
> <Dave.Massy@microsoft.com> wrote:
>> For example if we map html as the prefix for XHTML in our document  
>> then we’d write it like:
>> 	<html:table><html:tr><html:td></html:td></html:tr></html:table>
>> But then we can write a selector such as:
>> 	“h|table > h|tr > h|td”
>> With a NSResolver that maps h to the same namespace as the html in  
>> the primary document. This seems potentially confusing.
>
> This is similar to how CSS and DOM Level 3 XPath deal with it. It  
> allows scripts to be written independently from the markup. Seems  
> useful to me.

Not only is it useful but any other way of doing is radically  
useless. The whole point of prefixes is the indirection.

-- 
Robin Berjon - http://berjon.com/
------------------------------------------------------------------------
Change is inevitable except from a vending machine.

Received on Wednesday, 20 December 2006 12:00:04 UTC