Gerth, William D wrote:
....
your XML file is broken (note that it's the "parse" function that throws
this error).
</F>
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):
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.exp at.ExpatError: no element found: line 3, column 0
>
What can I do to fix this, if anything? My overall goal has been to
simply get the text of the XML document into a text file, but even that
has failed (I get naught but gibberish), so any help would be appreciated.
>
What can I do to fix this, if anything? My overall goal has been to
simply get the text of the XML document into a text file, but even that
has failed (I get naught but gibberish), so any help would be appreciated.
this error).
</F>