Xml/Xslt - XML Problem with "&" - Asked By Mayank Tripathi on 29-Jul-13 02:20 AM

XML problem with '&'.
I am having a problem with XML. Whenever one of my xml files had some data in it that contains an '&', for example <tag> Read & Write</tag> the code throws an exceptions "XML parsing: line 5, character 21, semicolon expected."
But when I remove the "&" ie
<tag> Read and Write</tag> works fine.
Please suggest how to retain "&" with my XML. As I want data to be in given format only "Read & Write".

Thanks
Robbe Morris replied to Mayank Tripathi on 29-Jul-13 08:58 AM
Do a search on XML CDATA tag.