projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b4adcc
)
Support for turbo marcxml
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 9 Mar 2010 12:49:05 +0000
(13:49 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 9 Mar 2010 12:49:05 +0000
(13:49 +0100)
src/record_conv.c
patch
|
blob
|
history
diff --git
a/src/record_conv.c
b/src/record_conv.c
index
41e9881
..
b3ec821
100644
(file)
--- 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;