Earlier quoted context omitted.
"I love string methods. Not sure if Ruby also has them" What do you mean? Of course Ruby has a String class and plenty of methods on it, but I'm not sure if that's what you're talking about. Ruby comes with an XML library standard, sure, but it's pretty bad. In my experience most people use competing libraries, of which there are several high quality options. You can get a walkable tree from the core library but you'…
The "XML library" that comes with Ruby is REXML, which uses only regular expressions to 'parse' XML into the tree structure that it exposes via its API. It is a stinking pile of shit.
Gets to the point where other libraries are so common that they may as well be in core, though. I wonder if there's any rubygems installation anywhere that doesn't have hpricot.