Re: [xslt] Question: How to register a URIResolver for xslt/Python bindings?
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Question: How to register a URIResolver for xslt/Python bindings?
- Date: Fri, 23 Aug 2002 06:04:47 -0400
On Fri, Aug 23, 2002 at 12:17:29AM -0400, Craeg K Strong wrote:
> I am integrating libxslt_py with my Zope application, and I want
> to be able to use URI resolution to resolve things like:
> Here was my idea: What if I subclass "catalog" and override
> the resolve() method?
> Will the libxml machinery call my method for catalog resolution?
Problem is taht currently the resolver Plug-in API is not exported
at the python level.
> Has anyone done this kind of thing before?
In C, yes I think for example Matt Sergeant did some work to be able
to control the resolution mechanism from Perl in the XML::LibXML module.
Exporting the resolver API to the python level should not be very hard,
please log an enhancement request in the bugzilla database so I don't
loose track of it.
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
firstname.lastname@example.org | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
] [Thread Prev