-/* $Id: alvis.c,v 1.2 2006-08-14 10:40:15 adam Exp $
+/* $Id: alvis.c,v 1.4 2006-11-03 23:17:08 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
+#if YAZ_HAVE_EXSLT
+#include <libexslt/exslt.h>
+#endif
+
#include <idzebra/util.h>
#include <idzebra/recctrl.h>
tinfo->doc = 0;
tinfo->schemas = 0;
+#if YAZ_HAVE_EXSLT
+ exsltRegisterAll();
+#endif
+
#if ENABLE_INPUT_CALLBACK
xmlRegisterDefaultInputCallbacks();
xmlRegisterInputCallbacks(zebra_xmlInputMatchCallback,
static int ioread_ex(void *context, char *buffer, int len)
{
struct recExtractCtrl *p = context;
- return (*p->readf)(p->fh, buffer, len);
+ return p->stream->readf(p->stream, buffer, len);
}
static int ioclose_ex(void *context)
static int ioread_ret(void *context, char *buffer, int len)
{
struct recRetrieveCtrl *p = context;
- return (*p->readf)(p->fh, buffer, len);
+ return p->stream->readf(p->stream, buffer, len);
}
static int ioclose_ret(void *context)