[lxml-dev] objectify.deannotate: call to etree.cleanup_namespaces in 2.1beta
Holger Joukl
jholg at gmx.de
Mon Jun 23 17:56:37 CEST 2008
Hi,
I have a usecase where I need to deannotate an objectified tree
and then manually set py:pytype or xsi:type attributes.
However, this seems to be getting difficult with 2.1beta as deannotate
wipes
out all nsmap information with its call to cleanup_namespaces(), and I
cannot set a namespaced
attribute through <elt>.set(...)
Maybe I'm missing something and there's a convenient way to do this?
If not, could we make the call to cleanup_namespaces optional (defaults
to True) in
deannotate()?
Holger
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080623/6a56cb1b/attachment.htm
More information about the lxml-dev
mailing list