Jump to content

xml error


Jeevan25

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...