From: Adam Dickmeiss Date: Wed, 7 Jan 2004 22:27:41 +0000 (+0000) Subject: Read recordXPath for SRU X-Git-Tag: YAZ.2.0.9.larry X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=ced98df62664982b6340c504d90b9309d41f4a1b;p=yaz-moved-to-github.git Read recordXPath for SRU --- diff --git a/src/srwutil.c b/src/srwutil.c index 581c00d..d284727 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,7 +2,7 @@ * 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 @@ -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->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;