xsltParseStylesheetDoc to avoid loss of white space in XSL file.
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy.cpp,v 1.86 2004-01-09 18:11:15 adam Exp $
+ * $Id: yaz-proxy.cpp,v 1.87 2004-01-12 21:02:42 adam Exp $
*/
#include <assert.h>
{
if (!m_stylesheet_schema)
return;
- xmlDocPtr xslt_doc = xmlParseFile(m_stylesheet_schema);
xsltStylesheetPtr xsp;
- xsp = xsltParseStylesheetDoc(xslt_doc);
+ xsp = xsltParseStylesheetFile((const xmlChar *) m_stylesheet_schema);
int i;
for (i = 0; i < p->num_records; i++)