Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Link reference causing XML error

Hi, some of my links need to be referenced as, "http://www.soundrangers.com/category-results.cfm?storeid=1&cat_id=0030". The "&cat_id" is confusing my basic RSS.xml file. Does anyone know how to reference this link without the error?
[235 byte] By [audiowizard] at [2007-11-11 8:27:24]
# 1 Re: Link reference causing XML error
If you replace the literal ampersand with an & entity, the parser reading your rss file will return the correct path.

Alternatively, you could put the link in a CDATA section:

<![CDATA[http://www.soundrangers.com/category-results.cfm?storeid=1&cat_id=0030]]>

Gerald
XML Copy Editor (http://xml-copy-editor.sourceforge.net)
geralds at 2007-11-11 23:28:34 >