projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
[yaz-moved-to-github.git]
/
src
/
marcdisp.c
diff --git
a/src/marcdisp.c
b/src/marcdisp.c
index
d4fdf6c
..
d9b16c6
100644
(file)
--- a/
src/marcdisp.c
+++ b/
src/marcdisp.c
@@
-140,10
+140,12
@@
static void marc_iconv_reset(yaz_marc_t mt, WRBUF wr)
static int marc_exec_leader(const char *leader_spec, char *leader,
size_t size);
static int marc_exec_leader(const char *leader_spec, char *leader,
size_t size);
+#if YAZ_HAVE_XML2
static int yaz_marc_write_xml_turbo_xml(yaz_marc_t mt, xmlNode **root_ptr,
const char *ns,
const char *format,
const char *type);
static int yaz_marc_write_xml_turbo_xml(yaz_marc_t mt, xmlNode **root_ptr,
const char *ns,
const char *format,
const char *type);
+#endif
static struct yaz_marc_node *yaz_marc_add_node(yaz_marc_t mt)
{
static struct yaz_marc_node *yaz_marc_add_node(yaz_marc_t mt)
{
@@
-823,7
+825,7
@@
int yaz_marc_write_turbomarc(yaz_marc_t mt, WRBUF wr)
if (!mt->leader_spec)
yaz_marc_modify_leader(mt, 9, "a");
return yaz_marc_write_marcxml_ns(mt, wr,
if (!mt->leader_spec)
yaz_marc_modify_leader(mt, 9, "a");
return yaz_marc_write_marcxml_ns(mt, wr,
- "http://www.indexdata.com/MARC21/turboxml", 0, 0, 1);
+ "http://www.indexdata.com/turbomarc", 0, 0, 1);
}
int yaz_marc_write_marcxchange(yaz_marc_t mt, WRBUF wr,
}
int yaz_marc_write_marcxchange(yaz_marc_t mt, WRBUF wr,