# File client_info.rb, line 100 def paramsFromXml(xml,parentname) @paramsdoc = Hpricot(xml) if not parentname.nil? doc = @paramsdoc.search("/" + parentname + "/*") doc.each do |x| params[(x.name).to_sym]= x.inner_html end end end