Added support for static ranking. Bug #174. The staticrank is enabled
[idzebra-moved-to-github.git] / test / xslt / xslt2.c
index 1d69c8a..0d63762 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: xslt2.c,v 1.1 2005-04-28 12:34:45 adam Exp $
+/* $Id: xslt2.c,v 1.4 2005-08-18 12:50:20 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -38,6 +38,12 @@ int main(int argc, char **argv)
 
     check_filter(zs, "xslt");
 
+    zebra_select_database(zh, "Default");
+    
+    zebra_init(zh);
+
+    zebra_set_resource(zh, "recordType", "xslt.marcschema-col.xml");
+
     sprintf(path, "%.200s/marc-col.xml", get_srcdir());
     f = fopen(path, "rb");
     if (!f)