[lxml-dev] objectify factories

Stefan Behnel stefan_ml at behnel.de
Sat Sep 1 10:21:29 CEST 2007


jholg at gmx.de wrote:
>> Given the current behaviour of _setElementValue(), I'd say it should just
>> go and annotate everything it produces.
> 
> Meaning an additional TypedElementMaker, right? I think it is actually nice to have the not-annotating ElementMaker as a choice.

BTW, that's easy to achieve, I just added a simple "annotate=True" keyword
argument to objectify.ElementMaker (not comitted yet). If you create a new E
factory and pass False, it will just skip the annotation step.

Stefan


More information about the lxml-dev mailing list