From a0df8d2655255428841849ac544ad47bf714f690 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 12 Jan 2004 22:35:59 +0000 Subject: [PATCH] Use xmlDocDumpFormatMemory to keep white space after XSLT --- src/yaz-proxy.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 4dbcc43..0ce638a 100644 --- 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. * - * $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 @@ -606,7 +606,8 @@ void Yaz_Proxy::convert_xsl(Z_NamePlusRecordList *p) 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); -- 1.7.10.4