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

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 UTC