XMLRPC::XMLParser::XMLParser LoadError: cannot load such file -- xmltreebuilder


I have a problem:
I need to parse some XML-RPC-formatted XML in Ruby. I don’t have access
to the XML-RPC service, I just want to turn an XML string that is
returned from such a service into the respective Ruby objects (hashes,
arrays, strings etc).

I’ve played around with the built-in XMLRPC stuff (in Ruby 1.9.3), but I
don’t get very far:

require ‘xmlrpc/parser’
parser = XMLRPC::XMLParser::XMLParser.new

That results in this exception:

LoadError: cannot load such file – xmltreebuilder
require' from /Users/johannes/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
initialize' from (irb):2:innew’
from (irb):2
from /Users/johannes/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `’
I then tried to instantiate different XMLParser subclasses, all to no

Do you have any pointers on how to get this to work? Is it even possible
to just parse RPC XML without using the XMLRPC::Client with the built-in