9 Jun
2008
9 Jun
'08
3:51 a.m.
Hi, Christian Zagrodnick wrote:
Well for pickling the root node all it really takes is to use the getroottree() for serializing. The fromstring method returns the right object anyway.
Not quite. Pickling works nicely through tostring(), but the unpickle process must return an ElementTree and there isn't currently a straight forward unpickle function that takes a string and returns an ElementTree. I'll see how to fix that. Stefan