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:
committed by
Daniel Veillard
parent
2bb1fe4dfa
commit
ae2380fe27
@ -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);
|
||||
|
Reference in New Issue
Block a user