| |
NWRUG |
On 2 Jul 2009, at 11:23, doug livesey wrote: > "<result>\n <successes>\n <1>a082000000HqJzUAAV</1>\n > Is there a quick & easy way to turn this into the following hash? > { "result" { "successes" => { "1" => "a082000000HqJzUAAV", "2" => http://xml-mapping.rubyforge.org/ Not used it myself though. Will. -- t: 07939 547 962
> following xml:
> <2>a082000000HqJzsAAF</2>\n <3>a082000000HqJzVAAV</3>\n </
> successes>\n <failures>\n </failures>\n</result>\n"
> "a082000000HqJzsAAF", "3" => "a082000000HqJzVAAV" }, "failures" =>
> {} }
Will Jessop
Super Shiny Robot Limited - Professional web design and development
w: http://supershinyrobot.com/