C:\Users\ytd\PycharmProjects\sript\venv\Scripts\python.exeC:/Users/ytd/PycharmProjects/sript/xml_Reader/Get_NodeAttribute.pyTraceback(mostrecentcalllast):File"C:/Users/yt...
C:\Users\ytd\PycharmProjects\sript\venv\Scripts\python.exe C:/Users/ytd/PycharmProjects/sript/xml_Reader/Get_NodeAttribute.py
Traceback (most recent call last):
File "C:/Users/ytd/PycharmProjects/sript/xml_Reader/Get_NodeAttribute.py", line 2, in
dom=minidom.parse('Class_info.xml')
File "C:\Users\ytd\AppData\Local\Programs\Python\Python36-32\lib\xml\dom\minidom.py", line 1958, in parse
return expatbuilder.parse(file)
File "C:\Users\ytd\AppData\Local\Programs\Python\Python36-32\lib\xml\dom\expatbuilder.py", line 911, in parse
result = builder.parseFile(fp)
File "C:\Users\ytd\AppData\Local\Programs\Python\Python36-32\lib\xml\dom\expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: XML declaration not well-formed: line 1, column 20
展开