Rails 1.2

Luke Ivers wrote:

One that caught my attention was the Hash.from_xml function... as I was
talking it over with another programmer, I got to wondering, how would
it deal with something like:

<listofnames>
  <name>Bob</name>
  <name>Jim</name>
  <name>Frank</name>
</listofnames>

Hash.from_xml("<listofnames><name>Bob</name><name>Jim</name></listofnames>")

=> {"listofnames"=>{"name"=>["Bob", "Jim"]}}

It doesn't take long to just try something out. :slight_smile: I recommend
setting up a project using "edge Rails" so you can easily do this.

Dan Manges