I have translated the original Perl version of this module (XML::Simple) to Ruby, because I often have to work with XML files, and the approach of XML::Simple was one of the best I have ever seen. It only provides two functions (xml_in and xml_out), that let you convert XML strings into a nice memory structure and vice versa.
For further information and a really nice tutorial, have a look into the doc directory of the distribution.
See INSTALL.
XmlSimple is Copyright (c) 2003-2015 Maik Schmidt. It is free software, and may be redistributed under the terms specified in the COPYING file of the current Ruby distribution.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose.