title: Parse an XML string in Python
body: <p>I have this XML string result and i need to get the values in between the tags. But the data type of the XML is string.</p>
  
  <pre><code>  final = "  &lt;Table&gt;&lt;Claimable&gt;false&lt;/Claimable&gt;&lt;MinorRev&gt;80601&lt;/MinorRev&gt;&lt;Operation&gt;530600 ION MILL&lt;/Operation&gt;&lt;HTNum&gt;162&lt;/HTNum&gt;&lt;WaferEC&gt;80318&lt;/WaferEC&gt;&lt;HolderType&gt;HACARR&lt;/HolderType&gt;&lt;Job&gt;167187008&lt;/Job&gt;&lt;/Table&gt;
  
      &lt;Table&gt;&lt;Claimable&gt;false&lt;/Claimable&gt;&lt;MinorRev&gt;71115&lt;/MinorRev&gt;&lt;Operation&gt;530600 ION MILL&lt;/Operation&gt;&lt;Experiment&gt;6794&lt;/Experiment&gt;&lt;HTNum&gt;162&lt;/HTNum&gt;&lt;WaferEC&gt;71105&lt;/WaferEC&gt;&lt;HolderType&gt;HACARR&lt;/HolderType&gt;&lt;Job&gt;16799006&lt;/Job&gt;&lt;/Table&gt; "
  </code></pre>
  
  <p>This is my code sample</p>
  
  <pre><code>root = ET.fromstring(final)
  print root
  </code></pre>
  
  <p>And this is the error i am receiving :</p>
  
  <pre><code>xml.parsers.expat.ExpatError: The markup in the document following the root element must be well-formed.
  </code></pre>
  
  <p>Ive tried using ET.fromstring. But with no luck. </p>