Python and XML woes - Programming On Unix
Users browsing this thread: 2 Guest(s)
|
|||
Hi,
I have been following some python examples on how to parse XML. I started out on an example XML (pulled from a tutorial website) http://ix.io/9JU By putting the "example.xml" into this script: http://ix.io/9JY which successfully returns the values: 1, 4 and 68 However, putting it through a similar, yet a biiiit more complex example, which is the XML returned from a mail atom feed: http://ix.io/9JT no results get returned. Of course, I have changed the file name from example.xml to mail.xml, and instead of using country, which I am not interested in, I am 'entry', hoping that, for each entry, I am able to extract the title and author. (http://ix.io/9JZ) With this slight alteration, I do not get a single output. The program just termites silently. Any pointers would be appreciated. |
|||