
Feb. 21, 2008
10:56 a.m.
Hi, in 2.0alpha5 the feature was added that there are defaults for some namespace prefixes (like xsi, xsd, py). Problem is, I sometimes still get things like <attribute xmlns:ns0="http://codespeak.net/lxml/objectify/pytype" ns0:pytype="str">bla</attribute> And I don't know why. What are the conditions when LXML uses (in this case) the py: prefix and when not? Or is it a bug? In the case above I used an ObjectPath with setattr. Regards, -- Christian Zagrodnick gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891