X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fbook.xml;h=462cb7f424a21d0a305b6a5e4573d9046fc135a1;hp=202518fee2ae27a7faf522c666075bd0fe13d327;hb=077c4e7bb226de0f6414674e01a838498a49867b;hpb=7f79b3a521ea4d5d4e89f8659324019cecc0fe8a diff --git a/doc/book.xml b/doc/book.xml index 202518f..462cb7f 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -925,7 +925,7 @@ - WIN32 + Windows The easiest way to install YAZ on Windows is by downloading an installer from here. @@ -934,12 +934,12 @@ - Compiling from Source on WIN32 + Compiling from Source on Windows &yaz; is shipped with "makefiles" for the NMAKE tool that comes with Microsoft Visual Studio. It has been tested with - Microsoft Visual Studio 2003/2005/2008. + Microsoft Visual Studio 2013. Start a command prompt and switch the sub directory @@ -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. + + + + + + +