From: ayqazi Date: 2008-02-05T22:10:00+09:00 Subject: New way to search by attribute value in REXML on ruby 1.8.6? Hi, I've been previously using things like: stuff = infdata.elements["domain:contact[@type='admin']"].text quite heavily. Upgrading to ruby 1.8.6 make this return a blank string. I'm using Gentoo's ruby ebuild, which I assume would patch any bugs, so I'm guessing there's a new way to do it. Anybody know how I can search for a sub-element with a particular attribute value as above in ruby 1.8.6's REXML? Thanks