Stefan Behnel wrote:
> (c)ET's XMLParser has an attribute "parser" that references the expat parser
> instance. It was renamed in newer versions.
cElementTree doesn't use the pyexpat API, and the expat binding it uses
doesn't support the ordered_attributes nonsense (*) at all.
*) it's an XML
Hi again,
Michael Becker wrote:
> These changes would allow the user to take advantage of the
> ordered_attributes attribute in the expat parser to use either ordered
> or unorder attributes as desired. For backwards compatibility it might
> be desirable to change XMLTreeBuilder to default to orde
I had some xmls being output by an application whose formatting 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 us