X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Ftools.xml;h=7e4096cb766e45d0ef59f6a2ff33db99c4728af3;hp=9ebc4dd77690e8480fe86702a19a776256202013;hb=236966a07ceb8e28649470995f88251c37423715;hpb=0a60fb964618d708863b02a8483a863072cfd4cf diff --git a/doc/tools.xml b/doc/tools.xml index 9ebc4dd..7e4096c 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1020,8 +1020,7 @@ struct ccl_rpn_node *ccl_find_str(CCL_bibset bibset, const char *str, - The parser converts CQL to - XCQL. + The parser converts CQL to XCQL. XCQL is an XML representation of CQL. XCQL is part of the SRU specification. However, since SRU supports CQL only, we don't expect XCQL to be widely used. @@ -1235,8 +1234,8 @@ int cql_transform_buf(cql_transform_t ct, If conversion failed, cql_transform_buf returns a non-zero SRU error code; otherwise zero is returned (conversion successful). The meanings of the numeric error - codes are listed in the SRU specifications at - + codes are listed in the SRU specification somewhere (no + direct link anymore). If conversion fails, more information can be obtained by calling @@ -2006,6 +2005,7 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, #define YAZ_MARC_XCHANGE 5 #define YAZ_MARC_CHECK 6 #define YAZ_MARC_TURBOMARC 7 + #define YAZ_MARC_JSON 8 /* supply iconv handle for character set conversion .. */ void yaz_marc_iconv(yaz_marc_t mt, yaz_iconv_t cd); @@ -2099,6 +2099,15 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, + + YAZ_MARC_JSON + + + MARC-in_JSON format. + + + + @@ -2329,8 +2338,9 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, Format of input. Supported values are - marc (for ISO2709); and xml - for MARCXML/MarcXchange. + marc (for ISO2709), xml + (MARCXML/MarcXchange) and json + (MARC-in_JSON). @@ -2339,10 +2349,12 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, Format of output. Supported values are - line (MARC line format); - marcxml (for MARCXML), - marc (ISO2709), - marcxhcange (for MarcXchange). + line (MARC line format); + marcxml (for MARCXML), + marc (ISO2709), + marcxhcange (for MarcXchange), + or json + (MARC-in_JSON ).