Perfect, thank you for the response. It does exactly what i was looking 
for. Also thanks for adding the YAML example.

-- 
Posted via http://www.ruby-forum.com/.