From: Ja Ha Date: 2007-06-26T06:06:50+09:00 Subject: REXML XPath question Can anyone explain these result to me (see bottom)? require 'rexml//document' d = REXML::Document.new %{ test

3

4

5

6

} REXML::XPath.match d, "/html/body/p[@id='foo']" #-> [] REXML::XPath.match d, "/html/body/p[@id]" #-> [] REXML::XPath.match d, "/html/body/p[@*]" #-> [

... ,

... ] -- Posted via http://www.ruby-forum.com/.