X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarcdisp.c;h=62200faaa4e00aea5420b6957b3b1c24a235b146;hb=8d691989077a0addcbd840d769dce6700f3d9622;hp=3079d81b172f2ec314b7a184d48bc9cf3611feb4;hpb=861f9deb72bd92679ea08d528b40993ada55cdb9;p=yaz-moved-to-github.git diff --git a/src/marcdisp.c b/src/marcdisp.c index 3079d81..62200fa 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2006, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.40 2006-12-18 10:33:22 adam Exp $ + * $Id: marcdisp.c,v 1.42 2007-01-03 08:42:15 adam Exp $ */ /** @@ -699,6 +699,7 @@ int yaz_marc_write_xml(yaz_marc_t mt, xmlNode **root_ptr, *root_ptr = record_ptr; ns_record = xmlNewNs(record_ptr, BAD_CAST ns, 0); + xmlSetNs(record_ptr, ns_record); if (format) xmlNewProp(record_ptr, BAD_CAST "format", BAD_CAST format);