Relative Content

Tag Archive for pythonxmlxml-parsing

Having an issue with XML data types

I want to convert an XML file to CSV. However, I keep getting the error AttributeError: ‘NoneType’ object has no attribute ‘integer’.

Having an issue with XML data types

I want to convert an XML file to CSV. However, I keep getting the error AttributeError: ‘NoneType’ object has no attribute ‘integer’.

Python XML parsing: choking on “<" in string

I have a Python module using the ET.XMLParser to parse a CppCheck XML report file. It’s choking when attempting to parse one of the attributes in an XML element that has a “<” in the string, which it is interpreting as malformed XML, e.g.: