Wednesday, June 26, 2013

Creating XML using Ruby's Builder class

Ruby provides a very simple way to generate XML.  It works well, especially when dumping values from your models in a specific manner that doesn't align with how ActiveRecord generates xml.
For reading in XML and inserting or updating nodes, you will need to use another library like Nokogiri.

No comments: