[4suite] [Amara] How to subclass ALL binding classes

Luis Miguel Morillas morillas at gmail.com
Wed Dec 6 15:34:52 MST 2006


New amara offers the posibility of subclassing some binding classes,
as Uche documented
(http://uche.ogbuji.net/tech/4suite/etc/amara-manual.html#custom-binding-classes).

But if I want to subclass ALL the classes (for example to add a new
method to all the nodes), how can I use the parse method?

amara.parse(XML, binding_classes={(None, ???):  new_class})

-- 
Saludos,

--

Luis Miguel


More information about the 4suite mailing list