Python and XML woes - Printable Version +- nixers (https://nixers.net) +-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics) +--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix) +--- Thread: Python and XML woes (/Thread-Python-and-XML-woes) |
Python and XML woes - funriz - 07-01-2014 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. |