On Tue, Mar 01, 2005 at 02:14:52PM +0000, dunk wrote:
> hello,
>       i need to use to xmlSetExternalEntityLoader from python but it appears
> to be missing. I attempted to edit the xml api file but to no avail.
> Could this be added please?

  I suggest you read existing examples like tests/resolver.py
to use the existing resolver APIs from python.

> I tried adding this:
>   <function name='xmlSetExternalEntityLoader' file='python'>
>                       <return type='void'/>
>                       <arg name='loader' type='pythonObject'/>
>       </function>
> 
> but importing libxml2 from python then results in a missing symbol error
> complaining about libxml_xmlSetExternalEntityLoader. Are there any docs
> about how to use this file?

  No doc, you still need to code C bindings, the .xml just advertize
that API.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to