W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: XPath and Selectors are identical, and shouldn't be co-developed

From: Yehuda Katz <wycats@gmail.com>
Date: Wed, 30 Nov 2011 13:24:06 -0800
Message-ID: <CAMFeDTVatDVicy07NB49uaQp33T_rx3KPB7BdjwngYa8etifAg@mail.gmail.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: public-webapps <public-webapps@w3.org>
Yehuda Katz
(ph) 718.877.1325


On Wed, Nov 30, 2011 at 1:22 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

> * Yehuda Katz wrote:
> >Out of curiosity, I'd like to see the DOM in question, the starting
> element
> >and the element you were trying to select. I think "how people do it in
> the
> >real world" is actually relevant.
>
> There is a table for each album and in an album each tbody/tr element is
> a track in that album.
>

So you want the preceding tr, no matter where it is in the DOM, so that it
goes from the top tr in one table to the bottom tr in another?


> --
> Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
> Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
> 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
>
Received on Wednesday, 30 November 2011 21:24:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT