RE: Need help with basic DOM XML tree traversing

2010-04-26 Thread Barak, Ron
> -Original Message- > From: Stefan Behnel [mailto:stefan...@behnel.de] > Sent: Sunday, April 25, 2010 6:42 PM > To: python-list@python.org > Subject: Re: Need help with basic DOM XML tree traversing > > Barak, Ron, 25.04.2010 17:06: > > This is my first

Re: Need help with basic DOM XML tree traversing

2010-04-25 Thread Stefan Behnel
Barak, Ron, 25.04.2010 17:06: This is my first try at XML with Python, and though I tried to read on the web, I'm unable to traverse a DOM tree, as my top element seems to be DOCUMENT_NODE and I cannot find a way to get to the nodes below it. You might find the xml.etree.ElementTree package a

Need help with basic DOM XML tree traversing

2010-04-25 Thread Barak, Ron
Hi, This is my first try at XML with Python, and though I tried to read on the web, I'm unable to traverse a DOM tree, as my top element seems to be DOCUMENT_NODE and I cannot find a way to get to the nodes below it. Below is a sample data, script and execution. Could you point to where I'm do