X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fzoom.xml;h=6c887500e9990c24171f850142294d8d8a6361d7;hb=4d95bcc1c92abde629616853b6a5d8e56444f5f3;hp=da8f0a9a5132616ab15c00612d6d228e1790240b;hpb=bf522cd3aa2173ec426ae99f4b103a4bbaa04fca;p=yaz-moved-to-github.git diff --git a/doc/zoom.xml b/doc/zoom.xml index da8f0a9..6c88750 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -300,6 +300,12 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) On response the the list contains the terms that the target could collect. none + + apdulog + If set to a true value such as "1", a log of low-level + protocol packets is emitted on standard error stream. This + can be very useful for debugging. + 0 @@ -750,18 +756,29 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) The type is a string of the format: - form[;charset=from[,to]][;format=v] + format[;charset=from[/opacfrom][,to]][;format=v] - where form specifies the format of the + where format specifies the format of the returned record, from specifies the character set of the record in its original form (as returned by the server), to specifies the output (returned) character set encoding. - If charset is not given, then no character set conversion takes place. If to is omitted UTF-8 is assumed. + If charset is not given, then no character set conversion takes place. + + OPAC records may be returned in a different + set from the bibliographic MARC record. If this is this the case, + opacfrom should be set to the character set + of the OPAC record part. + + + + Specifying the OPAC record character set requires YAZ 4.1.5 or later. + + The format argument controls whether record data should be XML pretty-printed (post process operation).