Okay, I tried the function xmlrpc_decode_request() and that didn't work.
This is the error message:
PHP Warning: Wrong parameter count for xmlrpc_decode_request() in Embedded code on line 28NULL
This is the code:
$request = file_get_contents("http://free.apisigning.com/onca/xml?".$allparameter);
$parsed_xml = simplexml_load_string($request);
$xml_category_object= $parsed_xml->Items->Item->ItemAttributes->ProductGroup ;
$result = xmlrpc_decode_request($xml_category_object);
var_dump($result);
I am just trying to get the string for the xml element ProductGroup out of the $parsed_xml . I just need the name of the product "kitchen". How do I get it from the returned xML object array ? I just need the string "kitchen" not the other information.
This is the value that comes in the original result without the xmlrpc_decode_request()
That I want to decode.
object(SimpleXMLElement)#2 (1) {
[0]=>
string(7) "Kitchen"
}
THANKS,