----- Original Message ----
> From: Brett Zamir

> Yes... One slash just means all immediate children of the context node,
> and in this case that is set by the 2nd argument, here
> document.documentElement (which in this case must be ). Two
> slashes together get all descendents from that point onward. You can
> combine them too: e.g., //div[@class='TOC']/table//td[1]

Thanks. I've been using XPath for years and am quite used to it, but am a little rusty. Indeed I was missing a leading slash.

> Besides an extension like the DOM inspector, if you expand a little bit
> into the fabulously cool XQuery language (XPath is valid XQuery),

As I'm sure you're aware, XQuery isn't natively available within Firefox, so it's not presently an option for me.