From: han.holl@... (Han Holl) Date: 2004-02-22T20:19:50+09:00 Subject: Rexml xpath question Hi, The following program: require 'rexml/document' require 'rexml/xpath' require 'pp' doc = REXML::Document.new(' ') REXML::XPath.each(doc.root, '/program/item[@rnum="1"]') do |el| puts el end # end of example program produces: Is this correct? I would have expected only the first item to be returned. Cheers,