Wednesday, July 13, 2005

XML Newbie

I am a relative newbie when it comes to XML. For work, I created an XML file and a corresponding parser in C#. For whatever reason the text "Cajun & Creole" kept throwing an XmlArgumentException. I thought perhaps it had something to do with the ampersand and... I was right. To include the "&" character in XML text, you must use "&"

This link from XML.com explains it all.

No comments: