From: Lost Warrior Date: 2008-07-24T19:25:51+09:00 Subject: how to use hpricot in views how to parse xml file in html.erb <% xml = Hpricot.parse(@chunk_of_xml_data) data = (xml/:uid) %> <% data.each { |u| %> <%= u.innerHTML %> <% } %> -- Posted via http://www.ruby-forum.com/.