projects
/
yazpp-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:
30c77a5
)
Use xmlDocDumpFormatMemory to keep white space after XSLT
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Jan 2004 22:35:59 +0000
(22:35 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Jan 2004 22:35:59 +0000
(22:35 +0000)
src/yaz-proxy.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-proxy.cpp
b/src/yaz-proxy.cpp
index
4dbcc43
..
0ce638a
100644
(file)
--- a/
src/yaz-proxy.cpp
+++ b/
src/yaz-proxy.cpp
@@
-2,7
+2,7
@@
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy.cpp,v 1.87 2004-01-12 21:02:42 adam Exp $
+ * $Id: yaz-proxy.cpp,v 1.88 2004-01-12 22:35:59 adam Exp $
*/
#include <assert.h>
*/
#include <assert.h>
@@
-606,7
+606,8
@@
void Yaz_Proxy::convert_xsl(Z_NamePlusRecordList *p)
xmlChar *out_buf;
int out_len;
xmlChar *out_buf;
int out_len;
- xmlDocDumpMemory (res, &out_buf, &out_len);
+ xmlDocDumpFormatMemory (res, &out_buf, &out_len, 1);
+
p->records[i]->u.databaseRecord =
z_ext_record(odr_encode(), VAL_TEXT_XML,
(char*) out_buf, out_len);
p->records[i]->u.databaseRecord =
z_ext_record(odr_encode(), VAL_TEXT_XML,
(char*) out_buf, out_len);