From: "Martin C." Date: 2010-12-06T20:52:56+09:00 Subject: Re: Traverse YAML node tree with non-unique values Thanks Josh for the detailed reply. Looking at the YAML in your first reply though, I have to wonder: You end up with duplicate keys under the items node, and if you load that with YAML, won't you have the same problem of only one product and one quantity remaining? In any case, I am trying to cater for the situation where the creation of the file is out of my control, i.e. I am receiving it from an external source. But thanks. -- Posted via http://www.ruby-forum.com/.