From: Luc Heinrich Date: 2012-06-15T17:37:36+09:00 Subject: Re: Parsing xml dict files On 15 juin 2012, at 08:57, Robert Klemme wrote: > 7 > 8 A > 9 val1 > 10 B > 11 val2 > 12 C > 13 val3 > 14 This furiously looks like a property list which I will assume is what you want to parse, in which case don't even bother using Nokogiri and simply use the plist gem. require "plist" xml = < A val1 B val2 C val3 XML puts Plist.parse_xml(xml) -- Luc Heinrich - luc@honk-honk.com