-/* $Id: xslt1.c,v 1.1 2005-04-28 14:58:24 adam Exp $
+/* $Id: xslt1.c,v 1.5 2005-09-13 11:51:11 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
char path[256];
ZebraService zs = start_up(0, argc, argv);
- ZebraHandle zh = zebra_open(zs);
+ ZebraHandle zh = zebra_open(zs, 0);
check_filter(zs, "xslt");
+
zebra_select_database(zh, "Default");
zebra_init(zh);
+ zebra_set_resource(zh, "recordType", "xslt.marcschema-col.xml");
+
zebra_begin_trans(zh, 1);
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
zebra_repository_update(zh, path);