From: Dan Thomas Date: 2011-01-25T05:43:49+09:00 Subject: Re: reverse engineering: "property> array" Anurag Priyam wrote in post #977094: >> <% @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 Cool! thanks for the help. -- Posted via http://www.ruby-forum.com/.