Re: :target pseudo-class vs. XPointer

* Chris Lilley wrote:
>>   * If yes, why shouldn't there be a :xpointer() pseudo-class function
>>     to extend W3C Selectors through XPointer (and by reference XPath)?
>
>I need more details of exactly what you propose here.

If I can use XPointers through :target, why shouldn't there be a way to
use XPointers directly? I want to do something like

  ...xpointer('//svg:rect')        { /* ... */ }
  ...xpointer('//foo[child::bar]') { /* ... */ }

etc. If the user agent is required to implement it, this wouldn't do any
harm.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Sunday, 28 October 2001 21:41:17 UTC