Re: [xml] document() and import() handlers
- From: Daniel Veillard <veillard redhat com>
- To: Matt Sergeant <matt sergeant org>
- Cc: Daniel Veillard <veillard redhat com>, "xml gnome org" <xml gnome org>
- Subject: Re: [xml] document() and import() handlers
- Date: Sun, 11 Mar 2001 07:24:14 -0500
On Sun, Mar 11, 2001 at 12:18:02PM +0000, Matt Sergeant wrote:
On Sun, 11 Mar 2001, Daniel Veillard wrote:
You can register new handlers, based on the URI string they can intercept
the default I/O routines of libxml:
use xmlRegisterInputCallbacks ()
http://xmlsoft.org/html/libxml-xmlio.html#XMLREGISTERINPUTCALLBACKS
again it works with a set of 4 callbacks:
match()
open()
read()
close()
These methods need to send some sort of user data, otherwise I can't do
per-instance callbacks, and I have no way to do matches in Perl-space.
match() should not need it
open() returns the user data associated
which is passwd as first arg of
read() and close()
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]