I have an XML file that contains elements with character codes. For example:
<LocItem LocName="Roatán Island, Honduras" />
I am trying to use PHP's SimpleXML to parse this XML file and store the LocName to a MySQL database exactly as it is displayed in the XML file (with the character code).
How can this be achieved? Thanks.