Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-13 Thread doug shawhan
Oho! Thanks, Kent (and everyone else.) That clears up some things. The link has some embarassment reducing info as well. :-)On 11/11/06, Kent Johnson < [EMAIL PROTECTED]> wrote:doug shawhan wrote:> I'm having some difficulties with elementtree as well. >> I'm attempting to parse a fairly sizeable x

Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-11 Thread Kent Johnson
doug shawhan wrote: > I'm having some difficulties with elementtree as well. > > I'm attempting to parse a fairly sizeable xml file (it's the ebay > "category tree" report. I've cached a copy at > http://www.crackrabbit.com/misc/CatTree.xml). 900K or so! :-) > I've made a smaller version that I

Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-10 Thread doug shawhan
Ah. Apparently, the string xmlns="urn:ebay:apis:eBLBaseComponents" is causing some sort of outfreakage. I'm not well versed in xml lore: is the "urn:" tag out of context here? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinf

Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-10 Thread doug shawhan
I'm having some difficulties with elementtree as well. I'm attempting to parse a fairly sizeable xml file (it's the ebay "category tree" report. I've cached a copy at http://www.crackrabbit.com/misc/CatTree.xml). 900K or so! :-) For some reason I'm unable to read any elements from the file. I hav

Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-09 Thread Gabriel Farrell
On Fri, Nov 10, 2006 at 10:23:49AM +1300, John Fouhy wrote: > On 10/11/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote: > > I am trying to parse XML documents using elementtree. > > I have just started with it. Can somebody help me with how to select nodes > > with a particular atribute set to some

Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-09 Thread Gabriel Farrell
On Thu, Nov 09, 2006 at 06:23:50PM +, Asrarahmed Kadri wrote: > Hi Folks, > > > I am trying to parse XML documents using elementtree. > I have just started with it. Can somebody help me with how to select nodes > with a particular atribute set to some value. For example, I have the > followin

Re: [Tutor] Help with Elementtree ...how to access the attributes..

2006-11-09 Thread John Fouhy
On 10/11/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote: > I am trying to parse XML documents using elementtree. > I have just started with it. Can somebody help me with how to select nodes > with a particular atribute set to some value. For example, I have the > following file. Now I want to acces

[Tutor] Help with Elementtree ...how to access the attributes..

2006-11-09 Thread Asrarahmed Kadri
Hi Folks,     I am trying to parse XML documents using elementtree. I have just started with it. Can somebody help me with how to select nodes with a particular atribute set to some value. For example, I have the following file. Now I want to access the founder element of the company whose attribu