>
> $ sudo gem install xml-simple
>
> require 'rubygems'
> require 'xmlsimple'
> file = "/some/file.xml"
> xml = XmlSimple.xml_in File.open(file).read, {'KeepRoot' => true}
>
>
> Cheers-
> - Ezra Zygmuntowicz

thanks. Do you know that i tried to do this by hand instead.
im still bashing my head on the table .. cyas