![](https://secure.gravatar.com/avatar/1833d9a7642a05ddea0d27de72be2e2b.jpg?s=120&d=mm&r=g)
July 26, 2006
10:11 p.m.
Andrew Lutomirski wrote:
On 7/24/06, Stefan Behnel wrote: a little external module with different ways of determining the Python element class for a libxml2 node. The "lxml.elements.classlookup" m,odule currently implements three different ways of doing this: [...] Other ways are of cause possible, so if anyone has an idea what to add, I'm open for suggestions.
How about a way to make this setting per-parser instead of global?
Here is how to do it: http://codespeak.net/svn/lxml/branch/capi/doc/elements.txt Stefan