<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><style>p {margin:0px;padding:0px;} blockquote { border: 0px; margin-top: 0px; margin-bottom: 0px; }</style></head><body style="">
<p>Hi,</p><p>I have a usecase where I need to deannotate an objectified tree</p><p>and then manually set py:pytype or xsi:type attributes.</p><p> </p><p>However, this seems to be getting difficult with 2.1beta as deannotate wipes</p><p>out all nsmap information with its call to cleanup_namespaces(), and I cannot set a namespaced </p><p>attribute through <elt>.set(...)</p><p> </p><p>Maybe I'm missing something and there's a convenient way to do this?</p><p> </p><p>If not, could we make the call to cleanup_namespaces optional (defaults to True) in</p><p>deannotate()? </p><p> </p><p>Holger </p><p><font color="#000000" face="Verdana" size="2"><p> </p></font></p><p> </p><span id="tiny_signature"><font color="#000000" face="Verdana" size="2"></font></span><div class="signature"><br /><br /><br />-- <br />GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!<br />Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx</div></body></html>