title: I am facing this error "xml.parsers.expat.ExpatError: not well-formed (invalid token):" while prase the url data using minidom
body: <p>I am facing this error <code>xml.parsers.expat.ExpatError: syntax error: line 1, column 0</code>  while parse data from url using minidom. Anyone can help me for this ?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>from xml.dom import minidom
  import urllib2
  url= 'http://www.awgp.org/about_us'
  openurl=urllib2.urlopen(url)
  doc=minidom.parse("about_us.xml")
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "test3.py", line 11, in &lt;module&gt;
  doc=minidom.parse("about_us.xml")
  File "C:\Python27\lib\xml\dom\minidom.py", line 1918, in parse
  return expatbuilder.parse(file)
  File "C:\Python27\lib\xml\dom\expatbuilder.py", line 924, in parse
  result = builder.parseFile(fp)
  File "C:\Python27\lib\xml\dom\expatbuilder.py", line 211, in parseFile
  parser.Parse("", True)
  xml.parsers.expat.ExpatError: syntax error: line 1, column 0
  </code></pre>