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:
6ed38c5
)
Explicitly associates NS with record root element in xmlNode output.
author
Sebastian Hammer
<quinn@indexdata.com>
Tue, 2 Jan 2007 07:01:56 +0000
(07:01 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Tue, 2 Jan 2007 07:01:56 +0000
(07:01 +0000)
src/marcdisp.c
patch
|
blob
|
history
diff --git
a/src/marcdisp.c
b/src/marcdisp.c
index
3079d81
..
f415bc7
100644
(file)
--- a/
src/marcdisp.c
+++ b/
src/marcdisp.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2006, 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.41 2007-01-02 07:01:56 quinn 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);