Phlip wrote:
>
> Try this:
> 
>    REXML::XPath(doc, "//terzo[@id='3']").xpath
> 
> That's off the top of my head; advise me if it didn't work! I know 
> there's a
> .xpath or .path in there somewhere...
> 

When I output element.xpath, I get:

/primo/secondo/terzo
/primo/terzo

-- 
Posted via http://www.ruby-forum.com/.