RE: OT: selectors (RE: Excluding declarations from the cascade)

> -----Original Message-----
> From: Ian Hickson [mailto:ianh@hixie.ch]

> XPath is newer than selectors. This is the third release of the
Selectors
> language, which was first released as part of CSS1 in 1996.

It is rather ironic; I can use "html:td/xed:area" in IE (with Jscript;
bliah) but I can't use 
htm\:td > xed\:area (Damn thing does not understand '>'). Let's not even
get into complicated CSS selectors. Go figure...

> Selectors are designed with dynamic environments in mind, making them
very
> suitable for things like web browsers, which may try to match several
> hundred selectors against several thousand elements every time the
user
> moves the mouse. XPath is significantly harder to optimise for cases
like
> this, as might be expected as it was designed to be complete, not
dynamic.

Does this relate with all the API debates going on and the close
relationship  between XPath and DOM implementations? 

Kindest regards,

Manos

Received on Tuesday, 4 September 2001 06:08:55 UTC