Re: Help with ElementTree

2015-04-09 Thread Larry Martell
On Thu, Apr 9, 2015 at 2:42 PM, Ben Finney wrote: > Larry Martell writes: > >> I have an XML file that looks like this (this is just the pertinent >> part, the file is huge): > > It's also not a very helpful schema. Elements called “Node”, where the > actual type of element is in an attribute, ju

Re: Help with ElementTree

2015-04-09 Thread Larry Martell
On Thu, Apr 9, 2015 at 2:39 PM, Peter Otten <__pete...@web.de> wrote: > Larry Martell wrote: > >> I have an XML file that looks like this (this is just the pertinent >> part, the file is huge): >> >> >> >> >> >> >> >> >> KA21 >>

Re: Help with ElementTree

2015-04-09 Thread Ben Finney
Larry Martell writes: > I have an XML file that looks like this (this is just the pertinent > part, the file is huge): It's also not a very helpful schema. Elements called “Node”, where the actual type of element is in an attribute, just make your job needlessly harder. They also pointlessly fo

Re: Help with ElementTree

2015-04-09 Thread Peter Otten
Larry Martell wrote: > I have an XML file that looks like this (this is just the pertinent > part, the file is huge): > > > > > > > > > KA21 > KA21 > > > > > > >