Re: [xslt] document() source

On Thu, Oct 16, 2003 at 03:13:37PM +0200, Thijs van der Vossen wrote:
> Currently I am trying to find a way to have the xslt document() function get 
> xml from other sources than the filesystem when using libxslt from Python.

  ftp and http should work as they are provided by default within libxml2

> This has been talked about before on this list, for example in 
> and 
> >From the last post I understand I would need to register some callbacks with 
> xmlRegisterInputCallbacks(), but I can't seem to find this method anywhere in 
> the Python bindings and I do not see any other way to register I/O handlers 
> from Python.
> Does anyone have any idea how to register I/O handlers or another way to have 
> the document() function get xml for other sources?

  have you read the libxml2 examples in libxml2/python/tests especially ?


Daniel Veillard      | Red Hat Network  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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