From: Mark Probert Date: 2003-01-11T00:03:37+09:00 Subject: Re: REXML and XPath Confusion Hi. At 01:16 AM 1/10/2003 +0900, Kouhei wrote: >REXML::Attributes#[] returns not a REXML::Attribute object >but a String object. Please forgive my ignorance, I am not sure how that helps me. panels = XPath.match( doc, "//panel/attribute::name" ) Appears to return an array of strings. When I do "panels.each" it seems to be just strings. When I do "p panels" it doesn't appear to be strings. And I can't match against strings. What am I missing here? Regards, -mark.