![](https://secure.gravatar.com/avatar/f89b66c8ca3c28bf90cecedd781ac768.jpg?s=120&d=mm&r=g)
28 Nov
2006
28 Nov
'06
3:45 p.m.
On Tue, 2006-11-28 at 12:36 -0200, Sidnei da Silva wrote:
Hi there,
I was looking at the XInclude functionality and noticed that it does use the 'resolvers'. Is that a missing feature or it just can't be done at all?
It wouldn't be on the C side, but I think lxml might stick close enough to the ElementTree api to use their python xinclude implementation (ElementInclude.py) which does support the specification of a resolver if you need it. If you don't want to use that directly, it's probably a decent example. There is also a modified version of it that we use with lxml in Deliverance, but it's recursive I believe. (http://codespeak.net/svn/z3/deliverance/trunk/deliverance/xinclude.py) - Luke