warpdesign Posted September 19, 2006 Share Posted September 19, 2006 I'm reading from an XML file using DOMDocument(), but I'm having problems when the data in the XML has special characters in it it returns an error. For example If there is a parenthases in it it will cause it to fail. Does the data in the XML have to be encoded somehow? I've tried using addslashes but that didn't help. :( Link to comment https://forums.phpfreaks.com/topic/21218-special-characters-in-xml/ Share on other sites More sharing options...
warpdesign Posted September 19, 2006 Author Share Posted September 19, 2006 Actually I found out parenthases are not the problem but & and <> are for sure causing problems... Is there a fix for this?? Link to comment https://forums.phpfreaks.com/topic/21218-special-characters-in-xml/#findComment-94772 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.