I am reading an xml in php using simplexml_load_file. However while trying to load the xml it displays a list of warnings
simplexml_load_file
Warning: simplexml_loa
This is in deed due to characters messing around with the data. Using htmlentities($yourText) worked for me (I had html code inside the xml document). See http://uk3.php.net/htmlentities.
htmlentities($yourText)