This tutorial discuss some basics about the way that Rails works, how it's structured and how to use it, and then you'll move on to working with XML. There are a number of ways to both generate and parse XML in Ruby, and you'll look at a few of them, including REXML (Ruby Electric XML), Builder and Hpricot (Technically Hpricot is an HTML parser -- but it's fast, and works on XML, too).
The objectives of this tutorial are as follows:
- Build the skeletal Ruby on Rails app (preparation for XML processing)
- Create a new XML document
- Download the XML document
- Upload a file in Rails (in this case, XML)
- Parse and manipulate XML
Click here to know more...!