Gerth, William D wrote:
Hey all, I’m simply trying to get my feet wet with XML parsing, and I
tried to just do something simple with ElementTree, just throw the XML
tags from a file into a list. The code is as follows (and may be wrong):
...
xml.parsers.expat.ExpatError: no element found:
Hey all, I'm simply trying to get my feet wet with XML parsing, and I
tried to just do something simple with ElementTree, just throw the XML
tags from a file into a list. The code is as follows (and may be
wrong):
import glob
import xml.etree.ElementTree as ET
tree = ET.parse('nameofFileh