summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
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);
}