[Greasemonkey] Newbie XPath question

Lenny Domnitser ldrhcp at gmail.com
Sat Jun 24 01:47:50 EDT 2006


On 6/23/06, Ewan Mac Mahon <ewan at macmahon.me.uk> wrote:
> After a bit of playing around it seems that starting "//" gives the wrong
> result, starting "/" doesn't quite work at all, but starting with "./" gives
> the desired effect.

In XPath, like with file paths, you can just write the relative path:
'tbody' instead of './tbody'.


More information about the Greasemonkey mailing list