Invalid chars in XML

From: Date: Mon, 20 Sep 2010 20:07:48 +0000
Subject: Invalid chars in XML
Groups: php.general 
Request: Send a blank email to php-general+get-308221@lists.php.net to get a copy of this message
Hi, I am trying to parse a XML file with simplexml_load but it gave me error. While inspecting the contents I found a & inside the value of a tag. <tag>something & something</tag>. After I've removed the & everything went fine. So which chars I should not put in my file? Should I use some conversion function like html_entities? Does the receiver of the XML has to do anything to convert is back?

« previous php.general (#308221) next »