From: Jonas Bengtsson Date: 2002-06-30T00:37:51+09:00 Subject: Re: xmlrpc problems Hello Michael, When I printed the returned variable in the client I got something like: userid1emailaaa@aaa.comurlwww.aaa.comlastnameaaafirstnameaaanicknameaaa It was basically the same as I got when using a hash. Is there any way to see the 'raw' reply from the xmlrpc server (i.e. the actual xml)? -- Best regards, Jonas Take everything you like seriously, except yourselves. - Rudyard Kipling Saturday, June 29, 2002, 4:08:42 PM, you wrote: > Hmm, how does the result using a hash look like? > It should look similar except perhaps the order in which the member's > occure, because you cannot specify the order using hashs! > If you want to preserve the ordering of members, use a Struct instead, > as shown below: > MyRecord = Struct.new("MyRecord", :nickname, :userid, :url, :email, > :lastname, :firstname) > aRecord = MyRecord.new("aa", ...) > # return aRecord > Regards, > Michael