Re: [Pythonmac-SIG] XML Parsing

2009-02-07 Thread Bryan Smith
"Not clear from your question whether your goal is to learn to parse XML in python or to solve a particular problem. If your goal is to learn python XML processing, then go right ahead -- however, it looks like you are using SAX below, and the sort of thing you describe might be done better using a

Re: [Pythonmac-SIG] XML Parsing

2009-02-07 Thread Steve Majewski
Not clear from your question whether your goal is to learn to parse XML in python or to solve a particular problem. If your goal is to learn python XML processing, then go right ahead -- however, it looks like you are using SAX below, and the sort of thing you describe might be done better

Re: [Pythonmac-SIG] XML Parsing

2009-02-06 Thread Chris Rebert
On Fri, Feb 6, 2009 at 8:00 PM, Bryan Smith wrote: > Hi everyone, > > I have another question I'm hoping someone would be kind enough to answer. I > am new to parsing XML (not to mention much of Python itself) and I am trying > to parse an XML file. The file I am trying to parse is this one: > htt

[Pythonmac-SIG] XML Parsing

2009-02-06 Thread Bryan Smith
Hi everyone, I have another question I'm hoping someone would be kind enough to answer. I am new to parsing XML (not to mention much of Python itself) and I am trying to parse an XML file. The file I am trying to parse is this one: http://ws.audioscrobbler.com/2.0/user/bryansmith/topalbums.xml. S