X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxslt%2Fxslt2.c;h=1929ca7a6864d12fc8ef9f69374cf9c9c33bfbab;hb=1fde4f52fc72af8e10a600a81c6f0924105add6a;hp=8ab9450d02f0a4f8282434d870fa8dc32df4d183;hpb=aa9c7bcd6f5ec5a2523c40f929ebdc9d72c1b48a;p=idzebra-moved-to-github.git diff --git a/test/xslt/xslt2.c b/test/xslt/xslt2.c index 8ab9450..1929ca7 100644 --- a/test/xslt/xslt2.c +++ b/test/xslt/xslt2.c @@ -1,4 +1,4 @@ -/* $Id: xslt2.c,v 1.2 2005-05-01 07:17:47 adam Exp $ +/* $Id: xslt2.c,v 1.5 2005-09-13 11:51:11 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -34,15 +34,15 @@ int main(int argc, char **argv) size_t r; ZebraService zs = start_up(0, argc, argv); - ZebraHandle zh = zebra_open(zs); + ZebraHandle zh = zebra_open(zs, 0); - check_filter(zs, "xslt1"); + check_filter(zs, "xslt"); zebra_select_database(zh, "Default"); zebra_init(zh); - zebra_set_resource(zh, "recordType", "xslt1.marc1.xsl"); + zebra_set_resource(zh, "recordType", "xslt.marcschema-col.xml"); sprintf(path, "%.200s/marc-col.xml", get_srcdir()); f = fopen(path, "rb");