I have a string that when parsed with tostring gives me a bunch of xml. Is there a way to get that fixed?
For example, when i run ET.tostring(elementObject,,encoding='us-ascii', method='xml'), i get <string>11>2</string>. I am expecting: "11>2". Is there a way to get what I am expecting or do I need to do some regex on that return value?
I am using import xml.etree.ElementTree as ET
thanks