Re: [xml] python binding for xmlCatalogAddLocal() ?
- From: Brent M Hendricks <brentmh ece rice edu>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] python binding for xmlCatalogAddLocal() ?
- Date: Mon, 14 Oct 2002 14:22:49 -0500
Daniel Veillard wrote:
On Wed, Oct 09, 2002 at 10:36:50AM -0500, Brent Hendricks wrote:
Is there a python binding xmlCatalogAddLocal() ? I looked through
libxml2.py but couldn't find anything. Or if there isn't, is there an
equivalent way to do the same thing (add a catalog to a document in a
threadsafe way)?
Hum, no there aren't any bindings for per document catalogs ATM.
The entry points are not directly converted because the pointer
"void *" has no type and hence can't be mapped to existing Python
type or classes wrappers.
That would require specific glue code at the bindings level.
Bummer :( I'm using the python bindings to do XSLT tranforms in Zope
which is multithreaded. Other than the local catalog problem, it works
fantastically. How hard would it be to write the "glue code" for this?
Is it on the horizon?
-- Brent
-------------------------------------------------------------------------
"The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating
by exertion of the imagination. Few media of creation are so
flexible, so easy to polish and rework, so readily capable of
realizing grand conceptual structures."
-- Frederick Brooks, Jr., The Mythical Man Month
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]