# File temp/xpath_parser.rb, line 120 def match( path_stack, nodeset ) #puts "MATCH: path_stack = #{path_stack.inspect}" #puts "MATCH: nodeset = #{nodeset.inspect}" r = expr( path_stack, nodeset ) #puts "MAIN EXPR => #{r.inspect}" r #while ( path_stack.size > 0 and nodeset.size > 0 ) # #puts "MATCH: #{path_stack.inspect} '#{nodeset.collect{|n|n.class}.inspect}'" # nodeset = expr( path_stack, nodeset ) # #puts "NODESET: #{nodeset.inspect}" # #puts "PATH_STACK: #{path_stack.inspect}" #end #nodeset end