![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
18 Nov
2012
18 Nov
'12
6:33 a.m.
Burak Arslan, 17.11.2012 21:37:
So, does this mean my earlier 'append_generator' suggestion has a green light?
Not as part of lxml, especially not as part of the tree API (where it is clearly misplaced). It would substantially complicate the internal implementation without providing a major advantage over other solutions. If you want to use generators for this, write a dedicated serialisation tool. Stefan