projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e2572ab
)
Read recordXPath for SRU
YAZ.2.0.9.larry
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 7 Jan 2004 22:27:41 +0000
(22:27 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 7 Jan 2004 22:27:41 +0000
(22:27 +0000)
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
581c00d
..
d284727
100644
(file)
--- a/
src/srwutil.c
+++ b/
src/srwutil.c
@@
-2,7
+2,7
@@
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: srwutil.c,v 1.6 2004-01-07 20:36:44 adam Exp $
+ * $Id: srwutil.c,v 1.7 2004-01-07 22:27:41 adam Exp $
*/
#include <yaz/srw.h>
*/
#include <yaz/srw.h>
@@
-207,6
+207,7
@@
int yaz_sru_decode(Z_HTTP_Request *hreq, Z_SRW_PDU **srw_pdu,
sr->u.request->sort_type = Z_SRW_sort_type_sort;
sr->u.request->sort.sortKeys = sortKeys;
}
sr->u.request->sort_type = Z_SRW_sort_type_sort;
sr->u.request->sort.sortKeys = sortKeys;
}
+ sr->u.request->recordXPath = yaz_uri_val(p1, "recordXPath", decode);
sr->u.request->recordSchema = yaz_uri_val(p1, "recordSchema", decode);
sr->u.request->recordPacking = yaz_uri_val(p1, "recordPacking", decode);
sr->u.request->stylesheet = stylesheet;
sr->u.request->recordSchema = yaz_uri_val(p1, "recordSchema", decode);
sr->u.request->recordPacking = yaz_uri_val(p1, "recordPacking", decode);
sr->u.request->stylesheet = stylesheet;