Forum Moderators: open

Message Too Old, No Replies

XML error for Google Site Maps

Anyone here know what's wrong

         

webdude

7:11 pm on Jun 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I created an xml file that is erring out. Not sure why. I keep getting...

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'file:///C:/Documents and Settings/Administrator/Desktop/sitemap.xml'. Line 142, Position 99

<loc>http://examplesite.com/MyState-Widget-Forum.taf?_function=detail&ForumMasterThreads_uid1=454&start=1</loc>
--------------------------------------------------------------------------------------------------^

There seems to be a problem at the = sign in "_uid1=454"

I have looked at this entry and I don't get it.

Needless to say, this is bobmging the G sitemaps. I would really like to figure it out. Any clues?

SebastianX

11:34 am on Jun 23, 2005 (gmt 0)

10+ Year Member



You need to replace & by &amp;, example:

$url = htmlentities($urlString, ENT_QUOTES, 'UTF-8');

[google.com...]

webdude

6:43 pm on Jun 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, I got that figured out.... Thanks for the reply though.