When trying to parse xml with php’s SimpleXml you’ll notice that the SimpleXmlElement comes up empty. Say you have the following xml structure: <root> <username> <![CDATA[ Text you want to escape goes here... ]]> </username> </root> When parsing that with SimpleXml the end result will simply be an empty tag: <root> <username> </username> </root> To solve this you need to [...]
Oct 172009