From: 7stud -- Date: 2011-04-01T10:27:27+09:00 Subject: Re: Can you search in REXML by attributes? I think this is the XPath for the elements you want: //IfcLengthMeasure[@id = 'i1671'] ...whether REXML fully supports XPath is another question. Try it and see if it works. -- Posted via http://www.ruby-forum.com/.