W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Re: :target pseudo-class vs. XPointer

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 29 Oct 2001 03:40:04 +0100
To: Chris Lilley <chris@w3.org>
Cc: www-style@w3.org
Message-ID: <1feptt4fgrq6v5avbi9b730a7iuhmvosqh@4ax.com>
* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT