From: Scott Date: 2006-02-20T23:13:30+09:00 Subject: Re: How can I search value from xml You'll propably want to use REXML and XPath: require 'rexml/document' require 'rexml/xpath' include REXML bibliography = Document.new( ARGV[0] ) XPath.each( bibliography, "/biblioentry[pubdate > 1993]") do |biblioentry| # do something with biblioentry here end Not entirely sure if that works, as the PC I'm on doesnt have Ruby installed :( Scott