title: XML format for special characters
body: <ol>
  <li>What are the special characters that will break an XML?</li>
  </ol>
  
  <p>For example, the following xml works if there is no special characters in the value. But fails when I have &amp; sign. I tried to wrap the value with CDATA syntax (<code>&lt;![CDATA[CITY &amp; COUNTY]]&gt;</code>) but getting "Unexpected end of file while parsing CDATA has occurred. Line 44, position 122"</p>
  
  <pre><code>&lt;Method ID="5"&gt;         
      &lt;Field Type="Text" Name="Company" DisplayName="Company Name" FromBaseType="TRUE" &gt;
          &lt;Default&gt;Rob &amp; Schnider Company&lt;/Default&gt;
      &lt;/Field&gt; 
  &lt;/Method&gt;
  </code></pre>
  
  <p>Additional Info (if needed): I am using SharePoint 2010 and it's web services to set default values for certain columns in a document library. </p>