2008/6/8 Dennis Edwards <dedward / gmail.com>:
> I get that part of the syntax -  what I don't (or didn't) get is why
> the two xpath operations I have are referring to the same document - I
> assumed they would be scoped to only the data passed to the block.

Well, they are because they use the node as basis.  But if you give
the command "search everything from the root on" then no matter where
you start the root node of that document will determine the start
position.  Hence you have "." to denote the current node.

Cheers

robert

-- 
use.inject do |as, often| as.you_can - without end