Re: [Tutor] ElementTree, iterable container, depth of elements

2014-03-29 Thread Peter Otten
street.swee...@mailworks.org wrote: > I'm trying to sort the order of elements in an xml file, mostly > to make visual inspection/comparison easier. The example xml and > code on http://effbot.org/zone/element-sort.htm get me almost > what I need, but the xml I'm working with has the element I'm

Re: [Tutor] ElementTree, iterable container, depth of elements

2014-03-29 Thread Dave Angel
street.swee...@mailworks.org Wrote in message: > I'm trying to sort the order of elements in an xml file, mostly > to make visual inspection/comparison easier. The example xml and > code on http://effbot.org/zone/element-sort.htm get me almost > what I need, but the xml I'm working with has the e

[Tutor] ElementTree, iterable container, depth of elements

2014-03-29 Thread street . sweeper
I'm trying to sort the order of elements in an xml file, mostly to make visual inspection/comparison easier. The example xml and code on http://effbot.org/zone/element-sort.htm get me almost what I need, but the xml I'm working with has the element I'm trying to sort on one level deeper. That pa