projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XSLT filter reads z:record construct which may define record ID
[idzebra-moved-to-github.git]
/
test
/
xslt
/
xslt2.c
diff --git
a/test/xslt/xslt2.c
b/test/xslt/xslt2.c
index
1d69c8a
..
fe42211
100644
(file)
--- a/
test/xslt/xslt2.c
+++ b/
test/xslt/xslt2.c
@@
-1,4
+1,4
@@
-/* $Id: xslt2.c,v 1.1 2005-04-28 12:34:45 adam Exp $
+/* $Id: xslt2.c,v 1.3 2005-05-31 14:18:17 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-36,7
+36,13
@@
int main(int argc, char **argv)
ZebraService zs = start_up(0, argc, argv);
ZebraHandle zh = zebra_open(zs);
ZebraService zs = start_up(0, argc, argv);
ZebraHandle zh = zebra_open(zs);
- check_filter(zs, "xslt");
+ check_filter(zs, "xslt1");
+
+ zebra_select_database(zh, "Default");
+
+ zebra_init(zh);
+
+ zebra_set_resource(zh, "recordType", "xslt1.marcschema.xml");
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
f = fopen(path, "rb");
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
f = fopen(path, "rb");