43 require_once
'XML/RPC2/Exception.php';
44 require_once
'XML/RPC2/Backend/Php/Value.php';
69 if (!is_array($value)) {
100 $result .=
'<member>';
102 $result .= strtr(
$name, array(
'&' =>
'&',
'<' =>
'<',
'>' =>
'>'));
103 $result .=
'</name>';
104 $result .=
'<value>';
108 $result .=
'</value>';
109 $result .=
'</member>';
111 $result .=
'</struct>';
127 $xml = simplexml_load_string($xml->asXML());
128 $values = $xml->xpath(
'/value/struct/member');
130 foreach (array_keys($values) as $i) {