O'Reilly logo

Ruby Phrasebook by Jason Clinton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Processing XML

Among the topics that a programmer will almost certainly encounter, XML is near the top of the list. AJAX has been a key player in bringing awareness of XML (Extensible Markup Language) to the web development industry. With the rabid popularity of Ruby on Rails, web developers increasing need Ruby’s support of XML to drive their AJAX user interfaces. In this chapter I’ll look at the ways you can use some standard libraries to manipulate XML data.

For this section, I rely on REXML, which is currently the most popular XML library for Ruby. However, at the time of this writing, bindings to libxml2 called libxml-ruby are under development. By the time you read this, you may find that those bindings are mature enough for production ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required