From 4d9188102144fc4f3868adab269126e9741e08be Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 10 Dec 2003 15:15:26 +0000 Subject: upp'ed the dependancy to libxml2-2.6.3 fixed #127473 by using the new * configure.in: upp'ed the dependancy to libxml2-2.6.3 * libxslt/documents.c xsltproc/xsltproc.c: fixed #127473 by using the new XInclude APIs provided by 2.6.3... Daniel --- xsltproc/xsltproc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xsltproc') diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 91a3a45b..b39e1c02 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -374,7 +374,11 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) { if (xinclude) { if (timing) startTimer(); +#if LIBXML_VERSION >= 20603 + xmlXIncludeProcessFlags(doc, XSLT_PARSE_OPTIONS); +#else xmlXIncludeProcess(doc); +#endif if (timing) { endTimer("XInclude processing %s", filename); } -- cgit v1.2.3