Thanks all for your help.
I decided to go with iterparse but trying the simple example in the python
interpreter led to an error (see below) and when I tried this with a much
larger xml sample, it seemed to print the full elements, not the specific
values of the element. For example, given what I
Hi,
I'm trying to parse a list of xml strings and so far it looks like the
xml.parsers.expat is the way to go but I'm not quite sure how it works.
I'm trying to parse something similar to the following. I'd like to collect
all headings and bodies and associate them in a variable (dictionary for