summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-12-10 15:15:26 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-12-10 15:15:26 +0000
commit4d9188102144fc4f3868adab269126e9741e08be (patch)
tree84b27d8a1a92bda423c4c6c7ea1f118e053bf06e /xsltproc
parentbb20b724138899e748fef49426dded90f17f38a5 (diff)
downloadlibxslt-4d9188102144fc4f3868adab269126e9741e08be.tar.gz
libxslt-4d9188102144fc4f3868adab269126e9741e08be.tar.bz2
libxslt-4d9188102144fc4f3868adab269126e9741e08be.zip
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
Diffstat (limited to 'xsltproc')
-rw-r--r--xsltproc/xsltproc.c4
1 files changed, 4 insertions, 0 deletions
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);
}