> % @xml.search("property[name=steps] > array").children.each do |step| > %> > > I understand that we're going to loop through all of the property tags > with a name attribute = "steps". If you have a look at [1], you are actually looping through all the 'array' elements, that are child of the 'property' element with the attribute 'name' set to 'steps'. [1] http://www.w3.org/TR/CSS2/selector.html -- Anurag Priyam http://about.me/yeban/