simplexml_load_string() doesnot seem to work form for the following xml
"<?xml version="1.0" encoding="UTF-8"?>
<Chat_vailable queue="IBIN" locale="gn">Hide</Chat_vailable>"
$result = simplexml_load_string($response->data)
[@attributes]
queue -> IBIN
locale->gn
the above xml is part of a response so when get the result it only contains attributes
$result is an object of SimpleXMLElement and only has an array of attributes
It doesn't have anything related to "Chat_valiable" or HIDE.
Could some one help please