mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +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);
|
ctxt = xsltNewTransformContext(cur, doc);
|
||||||
if (ctxt == NULL)
|
if (ctxt == NULL)
|
||||||
return;
|
return;
|
||||||
|
xsltSetCtxtParseOptions(ctxt, options);
|
||||||
|
#ifdef LIBXML_XINCLUDE_ENABLED
|
||||||
|
if (xinclude)
|
||||||
|
ctxt->xinclude = 1;
|
||||||
|
#endif
|
||||||
if (profile) {
|
if (profile) {
|
||||||
ret = xsltRunStylesheetUser(cur, doc, params, output,
|
ret = xsltRunStylesheetUser(cur, doc, params, output,
|
||||||
NULL, NULL, stderr, ctxt);
|
NULL, NULL, stderr, ctxt);
|
||||||
|
Reference in New Issue
Block a user