I have a response in XML that I need to parse out, and I'm using the simplexml_load_string function, but I'm not understanding how to isolate a particular value in the response.
Here is a sample of the XML response:
Then after loading it into the simplexml_load_string, I can use print_r and see the above structure. But I need to get the value of the SessionTicket, so I did the following and it resulted in no output in any of the three echo statements:
<SignonDesktopRs statusCode="0" statusSeverity="INFO">
Am I doing this wrong or is there just a better way to get a specific value of an XML string?
$xml = simplexml_load_string($response);