Stefan Behnel wrote: > Jonas Galvez wrote: >> Not sure if it's been done before, but still... > > Obviously ;) > > http://codespeak.net/lxml/tutorial.html#the-e-factory > > ... and tons of other tools that generate XML, check PyPI.
Although it might be the first time I see the with statement "misused" for this. :) Stefan -- http://mail.python.org/mailman/listinfo/python-list