| View previous topic :: View next topic |
| Author |
Message |
dt84
Joined: 24 Sep 2008 Posts: 1
|
Posted: Wed Sep 24, 2008 8:09 am Post subject: XML_Unserializer is removing some important characters |
|
|
Hello Everyone,
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. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|