From: Just Another Victim of the Ambient Morality Date: 2009-02-02T19:00:20+09:00 Subject: Which behaves correctly, Hpricot or Nokogiri? I've been considering switching to Nokogiri instead of Hpricot, mostly 'cause Mechanize has switched. However, the two actually behave quite differently. The Nokogiri objects don't simulate standard container behavior nearly as well as Hpricot. I also noticed that this: require 'nokogiri' require 'hpricot' xml = 'content' doc = Nokogiri::XML(xml) puts doc.search('first')[0].attributes['look'] doc = Hpricot(xml) puts doc.search('first')[0].attributes['look'] ...produces this output: Big & small... Big & smal... I don't know which output is the correct one. Does anyone know what's going on here? Thank you...