Support for turbo marcxml
authorDennis Schafroth <dennis@indexdata.com>
Tue, 9 Mar 2010 12:49:27 +0000 (13:49 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 9 Mar 2010 12:49:27 +0000 (13:49 +0100)
src/zoom-c.c

index 4a208b3..44a5646 100644 (file)
@@ -2196,6 +2196,11 @@ ZOOM_API(const char *)
         return get_record_format(rec, len, npr, YAZ_MARC_MARCXML, charset,
                                  format);
     }
+    else if (!strcmp(type, "txml"))
+    {
+        return get_record_format(rec, len, npr, YAZ_MARC_TMARCXML, charset,
+                                 format);
+    }
     else if (!strcmp(type, "raw"))
     {
         return get_record_format(rec, len, npr, YAZ_MARC_ISO2709, charset,