On Jun 9, 4:53     
> 2008/6/8 Dennis Edwards <dedw... / gmail.com>:
>
> > I get that part of the syntax -   > > 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.    
> 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.      >
> Cheers
>
> robert
>
> --
> use.inject do |as, often| as.you_can - without end

Thanks a lot Robert.. makes perfect sense now.

Cheers.
 Dennis