From: Adam Dickmeiss Date: Mon, 12 Jan 2004 22:35:59 +0000 (+0000) Subject: Use xmlDocDumpFormatMemory to keep white space after XSLT X-Git-Tag: YAZPP.0.7.5.larry~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a0df8d2655255428841849ac544ad47bf714f690;p=yazpp-moved-to-github.git Use xmlDocDumpFormatMemory to keep white space after XSLT --- 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);