Re: Issues with XMLTreeBuilder in cElementTree and ElementTree

2008-03-23 Thread Stefan Behnel
Michael Becker wrote: > Secondly, I found a potential issue with the cElementTree module. My > understanding (which could be incorrect) of python C modules is that > they should work the same as the python versions but be more > efficient. The XMLTreeBuilder class in cElementTree doesn't seem to be

Issues with XMLTreeBuilder in cElementTree and ElementTree

2008-03-20 Thread Michael Becker
I had some xmls being output by an application whose formating did not allow for easy editing by humans so I was trying to write a short python app to pretty print xml files. Most of the data in these xml files is in the attributes so I wanted each attribute on its own line. I wrote a short app usi