confis
Member
Hi ,
I am try to get the value from this XML (value1,value2) from URL
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><string>value1</string><string>value2</string></ArrayOfstring>
I have tried to use the below on filed with eval - yes
$xml = json_decode(file_get_contents('api_url'));
return $xml ;
also try this
$xml = SimpleXmlElement(file_get_contents('api_url'));
return ($xml->values);
But with no help ;(
do you have any advice how to make it work?
Thanks
Yaniv
I am try to get the value from this XML (value1,value2) from URL
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><string>value1</string><string>value2</string></ArrayOfstring>
I have tried to use the below on filed with eval - yes
$xml = json_decode(file_get_contents('api_url'));
return $xml ;
also try this
$xml = SimpleXmlElement(file_get_contents('api_url'));
return ($xml->values);
But with no help ;(
do you have any advice how to make it work?
Thanks
Yaniv