Parsing XML with Hpricot, a Gem of a Ruby Gem

Parsing XML with Hpricot, a Gem of a Ruby Gem

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!

View article

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular