[XML-SIG] parsing XML with minidom

2010-02-03 Thread kimmyaf
Hello, I am not real sure if my question belongs here or not, but this is best place I could find. I am a python beginner and trying to teach myself how to parse some XML with minidom. This is the code excerpt I am struggling with

[XML-SIG] parsing XML with minidom

2010-04-25 Thread kimmyaf
Hello. I've only done a litte bit of parsing with minidom before but I'm having trouble getting my values out of this xml. I need the latitude and longitude values in bold. I've tried several things. I think that I am getting into the location tag but maybe the getAttribute function is not correct

Re: [XML-SIG] parsing XML with minidom

2010-04-27 Thread kimmyaf
Thanks Stefan. I tried this but it's not getting into the for block for some reason. I'll keep trying! Stefan Behnel-3 wrote: > > kimmyaf, 26.04.2010 00:24: >> Hello. I've only done a litte bit of parsing with minidom before but I'm >> having trouble get

Re: [XML-SIG] parsing XML with minidom

2010-04-27 Thread kimmyaf
I got the "here" but not the "here1" I'm attaching my actual file.. Sorry! I appreciate the help! this is the last piece of functionality i need to get working for my programming assignment! Stefan Behnel-3 wrote: > > kimmyaf, 26.04.2010 23:14: >&

Re: [XML-SIG] parsing XML with minidom

2010-04-27 Thread kimmyaf
Now that I look at my file it does not look well formed. Do I have to use a file? I tried to do tree = ET.parse(xml_response) but i got a file IO error... kimmyaf wrote: > > I don't really know... Here's the whole story. > > I am retrieving the xml by callin

Re: [XML-SIG] parsing XML with minidom

2010-04-28 Thread kimmyaf
Thanks all for the help. This gives me alot of good options and I have a few working I learned a lot! kimmyaf wrote: > > Hello. I've only done a litte bit of parsing with minidom before but I'm > having trouble getting my values out of this xml. I need the latit