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.
final = " <Table><Claimable>false</Claimable><MinorRev>80601</MinorRev><Operation>530600 ION MILL</Operation><HTNum>162</HTNum><WaferEC>80318</WaferEC><HolderType>HACARR</HolderType><Job>167187008</Job></Table>
<Table><Claimable>false</Claimable><MinorRev>71115</MinorRev><Operation>530600 ION MILL</Operation><Experiment>6794</Experiment><HTNum>162</HTNum><WaferEC>71105</WaferEC><HolderType>HACARR</HolderType><Job>16799006</Job></Table> "
This is my code sample
root = ET.fromstring(final)
print root
And this is the error i am receiving :
xml.parsers.expat.ExpatError: The markup in the document following the root element must be well-formed.
Ive tried using ET.fromstring. But with no luck.
ETexactly in your code?Tables.