X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrwutil.c;h=d284727f0241155d4ac9c6f9fe4813d2e3a8c53d;hb=refs%2Ftags%2FYAZ.2.0.9.larry;hp=581c00d53a4008ef5588eb898ec7ee8c7e377daf;hpb=e2572abf240cdd295a1761e5912ada162c435e61;p=yaz-moved-to-github.git 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;