Jason Gilmore writes:
I recently completed a project that involved parsing a large number of XML documents. Although XML is often touted as being “human readable,” it’s not exactly something I’d like to cozy up with on a dark and stormy night. In fact, the goal was to avoid having to spend too much time dealing with the matter. A quick search for a parsing solution turned up Hpricot, a Ruby gem capable of parsing and manipulating XML with amazing flexibility and ease.
In this tutorial, I’ll introduce Hpricot, showing you how to begin using this powerful gem in ways that will leave you with plenty of time to read something far more exciting, source code for instance!