From: "Johannes F." Date: 2012-10-22T21:48:48+09:00 Subject: XMLRPC::XMLParser::XMLParser LoadError: cannot load such file -- xmltreebuilder Hi, 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 from /Users/johannes/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /Users/johannes/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /Users/johannes/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/xmlrpc/parser.rb:620:in `initialize' from (irb):2:in `new' 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 avail. 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 library? Thanks! -- Posted via http://www.ruby-forum.com/.