Re: [xml] xmlSetExternalEntityLoader in python api

On Tue, Mar 01, 2005 at 02:14:52PM +0000, dunk wrote:
      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/
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'/>

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 Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]