X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fbook.xml;h=462cb7f424a21d0a305b6a5e4573d9046fc135a1;hp=b812fc013cc1ab55861f24f15f6e0058ae6fcfc1;hb=077c4e7bb226de0f6414674e01a838498a49867b;hpb=11ed1645174d8ca8d8dcf5ef2bbe91e70a4a3e00 diff --git a/doc/book.xml b/doc/book.xml index b812fc0..462cb7f 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -2126,28 +2126,37 @@ The type is a string of the format: - format[;charset=from[/opacfrom][,to]][;format=v] + format[;charset=from[/opacfrom][,to]][;format=v][;base64=xpath] - where format specifies the format of the - returned record, from + If charset is given, then 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 to is omitted UTF-8 is assumed. + the output (returned) character set encoding. + If to is omitted, then 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, + 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. + + + The format is generic but can only be used to + specify XML indentation when the value v + is 1 (format=1). + + + The base64 allows a full record to be extracted + from base64-encoded string in an XML document. + Specifying the OPAC record character set requires YAZ 4.1.5 or later. + + Specifying the base64 parameter requires YAZ 4.2.35 or later. + The format argument controls whether record data should be XML @@ -7384,21 +7393,25 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, - xslt + select - The xslt element specifies a conversion - via &acro.xslt;. The following attributes may be specified: + The select selects one or more text nodes + and decodes them as XML. + The following attributes may be specified: - stylesheet (REQUIRED) + path (REQUIRED) - Stylesheet file. + X-Path expression for selecting text nodes. + + This conversion is available in YAZ 5.8.0 and later. + @@ -7416,6 +7429,24 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, + + xslt + + + The xslt element specifies a conversion + via &acro.xslt;. The following attributes may be specified: + + stylesheet (REQUIRED) + + + Stylesheet file. + + + + + + +