summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
Diffstat (limited to 'xsltproc')
-rw-r--r--xsltproc/xsltproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 244826f1..10cae258 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -395,6 +395,8 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
if (ctxt == NULL)
return;
xsltSetCtxtParseOptions(ctxt, options);
+ if (xinclude)
+ ctxt->xinclude = 1;
if (profile) {
res = xsltApplyStylesheetUser(cur, doc, params, NULL,
stderr, ctxt);