ts wrote:
>>>>>>"J" == Joel VanderWerf <vjoel / PATH.Berkeley.EDU> writes:
> 
> 
> J>    elt_parts = elt.elements.collect('part') # XPath query
> 
>  bdbxml has the same problem : see how it try to fix it.

I don't understand. Neither of your #each methods takes arguments.

> J> The #collect call fails because it requires 0 arguments. But each can be 
> J> called with an argument, so the following does what I want:
> 
>  What are the arguments given to #each ?

In the case of instances of REXML::Elements#each, an optional XPath string.