From: Peter Fitzgibbons Date: 2005-10-14T20:28:55+09:00 Subject: Unit Testing with REXML questions Hello all, I'm using REXML to build some XML from a rails app. I'm unit testing the output also using REXML... and I have these questions : Given one two three four I want to use XPath to tell me how many there are under ? I want to use XPath to iterate the _names_ of the items under (Does this make sense in XML World. This one is not necessarily a requirement, but I uncovered this need while experimenting in IRB.) ? Thanks in advance! Peter Fitzgibbons