Hello Everyone,
This is a PHP/XML query.
I'm using XML_Unserializer from the PEAR package to convert some XML to a php array. The XML is very basic:
<response status="SUCCESS">
<object>some character data</object>
</response>
The problem I'm facing is that if "some character data" contains < or > (for < and >), these characters are being removed from the result.
"some character data" is usually HTML so what it needs to do is convert the < and > back to < and > rather than delete them.
I've looked through the XML_Unserializer code but haven't been able to determine when the characters are deleted.
Any help is greatly appreciated.
David.