title: Storing Equal Signs (=) in XML Documents
body: <p>I'm facing a problem that Google couldn't solve yet!</p>
  
  <p>I'm trying to store URLs in an XML file. Problem is that these URLs contain Equal Signs (=) in them. And that generates an error.</p>
  
  <p>Here is my code: (**token is a variable that contains the URL)</p>
  
  <pre><code>Dim child As String = vbCrLf &amp; "&lt;Link URL='" &amp; token &amp; "'&gt;&lt;/Link&gt;"
  Dim fragment As XmlDocumentFragment = doc.CreateDocumentFragment
  fragment.InnerXml = child
  </code></pre>
  
  <p>The error message: (Error line and position are meaningless here)</p>
  
  <blockquote>
    <p>'=' is an unexpected token. The expected token is ';'. Line 2, position 133.</p>
  </blockquote>
  
  <p>I've replaced all '&amp;' symbols with '&amp;amp' in case they were the ones causing the error, but no luck so far.</p>