From 7c862e68f8fd3de440db2498bd5619f7f70ad43d Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Tue, 9 Mar 2010 13:49:05 +0100 Subject: [PATCH] Support for turbo marcxml --- src/record_conv.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/record_conv.c b/src/record_conv.c index 41e9881..b3ec821 100644 --- a/src/record_conv.c +++ b/src/record_conv.c @@ -304,6 +304,12 @@ static int conv_marc(yaz_record_conv_t p, const xmlNode *ptr) if (input_charset && !output_charset) output_charset = "utf-8"; } + else if (!strcmp(output_format, "tmarcxml")) + { + output_format_mode = YAZ_MARC_TMARCXML; + if (input_charset && !output_charset) + output_charset = "utf-8"; + } else if (!strcmp(output_format, "marc")) { output_format_mode = YAZ_MARC_ISO2709; -- 1.7.10.4