Jeevan25 Posted August 23, 2007 Share Posted August 23, 2007 XML Parsing Error: not well-formedI keep getting that. i am creating a xml file of my one of my db tables. <link><title>Adimai Pen - Old Movies</title><url>video-31,Adimai-Pen.html</url></link><link><title>Alibaba & 40 Thieves - Old Movies</title><url>video-35,Alibaba-&-40-Thieves.html</url></link>for unknown reason, i am getting that error around that place.ok found it. sorry. turns out i can't use symbols in xml. Link to comment Share on other sites More sharing options...
boen_robot Posted August 23, 2007 Share Posted August 23, 2007 You need to escape ampersands (&) with an entity reference like & amp; (eliminate the space here).So, your code becomes <link><title>Adimai Pen - Old Movies</title><url>video-31,Adimai-Pen.html</url></link><link><title>Alibaba & 40 Thieves - Old Movies</title><url>video-35,Alibaba-&-40-Thieves.html</url></link> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.