Forwarded to the list.  To prevent spam, this list is member-only.  You
have to post from the address you signed up as.  -- Edd


----- Forwarded message from [EMAIL PROTECTED] -----

Date: Fri, 20 Jul 2001 14:54:12 +0200
From: giancarlo pinerolo <[EMAIL PROTECTED]>
To: xmlrpc list <[EMAIL PROTECTED]>
Subject: How to decode XML-rpc

I must first say that I have been using the XML of xmlprc for quite a
while.
I was not in the rpc, the message and the rest, but in encoding and
decoding the XML, which I have a a string

I used this code, calling  a routine of mine to decode the XML

>   // create the output value
>   $w=new xmlrpcmsg("no.name"); ## UGLY! NO OTHER WAY?
>   $sno=$w->parseResponse($d);
>   $myarr=$sno->value();
>   $this->_recurse_xmlrpcval($myarr);
>   return $this->warray;

The problem is thata I had to include the whole xmlrpc client library,
while I am only inerested in the data manipulation part.

I have tried to use the new xmlrpc_decode function to do this,
but it doesn't work.

Which class and method should I use to decode the plain XML (not the
nested objects)
into native php values?
Do I have to tranform it into nested xmlrpcval objects first?


Thanks in advance

Giancarlo Pinerolo


----- End forwarded message -----

--
For information about how to subscribe and unsubscribe from this list
visit http://xmlrpc.usefulinc.com/list.html

Reply via email to