I can't quite get the coding right to extract this one string (hostPIN) from the XML response below. I've been searching and can't get anything to work. How can I extract that data using PHP?
I am posting just the path to the data I need to get because the XML data is quite large.
<serv:message>
<serv:body>
<serv:bodyContent xsi:type="use:getUserResponse">
<use:personalMeetingRoom>
<use:hostPIN>1234</use:hostPIN>
How do I extract 1234? The namespaces are confusing and I can't find some code that would work with this.