Jump to content


Photo

special characters in XML


  • Please log in to reply
1 reply to this topic

#1 warpdesign

warpdesign
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 19 September 2006 - 01:12 AM

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. :(

#2 warpdesign

warpdesign
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 19 September 2006 - 05:12 PM

Actually I found out parenthases are not the problem but & and <> are for sure causing problems... Is there a fix for this??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users