jamesalmond.com blog

Thoughts of a thinker

Simpler XML parsing with Dozuki

| Comments

I’ve just pushed a gem! It’s called Dozuki. It’s an extraction of a simple wrapping layer over the Nokogiri XML library that reduces the amount of method chaining needed to accomplish simple tasks like extracting integers and floats, or iterating through nodes. It’s quite a close extraction to its original purpose at the moment, so it’s not that fully featured. It’s also going to be used as a bit of a test bed for trying out different types of testing, currently focussing on Cucumber-based feature documentation. Take a look, I’m quite happy with the tests so far!