17452 Posts in 4473 Topics by 1971 members
|Go to End|
9 June 2008 at 9:53am
Have any one had used & in page name like 'News & Updates'?
I wants to give page name and navigation label as 'News & Updates', it works well with IE but in firefox and opera it gives error like;
XML Parsing Error: not well-formed
Line Number 114, Column 56:</li><li><a href="news-updates" title="Go to the News & Updates page">News & Updates</a><ul>
It only gives error while i try to open the sitemap page. Did any one had faced same trouble?
If i comment the <!--<?xml version="1.0" encoding="utf-8"?>--> in page.ss then it works well but i need to pass code through XHTML validation.
9 June 2008 at 2:55pm Last edited: 9 June 2008 2:56pm
Are you using $Title to render it out? Basically, in XHTML all ampersands must be represented as & which is the HTML entity for the ampersand.
If you're rendering the title out as $Title, try using $Title.XML instead which should fix the problem.
|Go to Top|