Re: "Full" element tag listing possible with Elementtree?

2008-09-05 Thread jaime . dyson
On Sep 4, 11:43 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > >   this is node b > >   this is node c > >     > >     this is node e > >   > >   this is node f > > > > > I would want to print the following: > > > > > > > text: this is node b > > > >

"Full" element tag listing possible with Elementtree?

2008-09-04 Thread jaime . dyson
Hello all, I have the unenviable task of turning about 20K strangely formatted XML documents from different sources into something resembling a clean, standard, uniform format. I like Elementtree and have been using it to step through the documents to get a feel for their structure. .getiterator