1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

567192 xsltproc --output option ignore --xinclude

* xsltproc/xsltproc.c: the option was not activating XInclude nor
  passing parser flags
This commit is contained in:
Joachim Breitner
2009-08-23 14:58:13 +02:00
committed by Daniel Veillard
parent 2bb1fe4dfa
commit ae2380fe27

View File

@ -461,6 +461,11 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
ctxt = xsltNewTransformContext(cur, doc);
if (ctxt == NULL)
return;
xsltSetCtxtParseOptions(ctxt, options);
#ifdef LIBXML_XINCLUDE_ENABLED
if (xinclude)
ctxt->xinclude = 1;
#endif
if (profile) {
ret = xsltRunStylesheetUser(cur, doc, params, output,
NULL, NULL, stderr, ctxt);