title: Xml - '=' is an unexpected token, the expected token is ';'
body: <p>i'm using this code to read a xml file</p>
  
  <pre><code>string xmlcontents = System.IO.File.ReadAllText("the xml path");
  xml.LoadXml(xmlcontents);
  </code></pre>
  
  <p>when i execute this code it gives me this error</p>
  
  <blockquote>
    <p>System.Xml.XmlException: ''=' is an unexpected token. The expected token is ';'</p>
  </blockquote>
  
  <p>here is the xml line with the error </p>
  
  <pre><code>&lt;SubMenu name="Assassins Creed Origins" picture="https://image.ibb.co/gqeqpd/image.jpg" Torrent="http://rarbg.to/download.php?id=hzvlmyb&amp;f=The.Endless.2017.1080p.BluRay.H264.AAC-RARBG-[rarbg.to].torrent" /&gt;
  </code></pre>
  
  <p>the error is in the Torrent attribute, its because the link contains <code>&amp;</code> and replacing it with <code>&amp;amp;</code> will fix the problem, but if i do that the link will be incorrect, how to fix this problem?</p>
  
  <p>Thanks.</p>