17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1025 Views |
-
Use of '&' in Page name

9 June 2008 at 9:53am
Hi all,
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
Location: http://localhost/site_mimomax/site-map/
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.
Any suggestions?????
-
Re: Use of '&' in Page name

9 June 2008 at 2:55pm Last edited: 9 June 2008 2:56pm
Hi there,
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.
Cheers,
Sean
| 1025 Views | ||
|
Page:
1
|
Go to Top |


