X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarcdisp.c;h=0ef545ef6590395254e469ff4fd2ca5c33325811;hb=7bfdd9cdcbfd12d6690278c9b56a7ac26b2457e9;hp=d4fdf6c7767d3296ef58b608e5bf834d1f7065c4;hpb=fb276eb339f39e6233de8e7540c4408089e8d3b3;p=yaz-moved-to-github.git diff --git a/src/marcdisp.c b/src/marcdisp.c index d4fdf6c..0ef545e 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ @@ -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); +#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); +#endif 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, - "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,