سؤال

I have something like:

$client = new Zend_XmlRpc_Client('<XML-RPC URL>');
$result = $client->call('<method name>', array( ... ));

I get an XML string in $result. Is Zend capable of marshalling this XML into some object or associative array?

If Zend doesn't marshall this automatically and I have to do so using plain PHP, how is it best done?

هل كانت مفيدة؟

المحلول

Meh. I'm settling for SimpleXML (a PHP5 module), as suggested here. I don't need anything complex anyway.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top