diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2006-10-11 20:28:25 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2006-10-11 20:28:25 +0000 |
commit | e810227affa1f0f69d291532898e3efc84181df9 (patch) | |
tree | 194ecffee66484a8bc73ee38bcb568f336cf5627 /xsltproc | |
parent | 7f5d41168563ac05d13c5ca190ddb87676cad8cd (diff) | |
download | libxslt-e810227affa1f0f69d291532898e3efc84181df9.tar.gz libxslt-e810227affa1f0f69d291532898e3efc84181df9.tar.bz2 libxslt-e810227affa1f0f69d291532898e3efc84181df9.zip |
apply patch from Gary Coady to compile when libxml2 has no xinclude
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when
libxml2 has no xinclude support #319886
* docs/*: renamed Gnome to GNOME fixes #352159
Daniel
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index da80e037..15848f44 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -391,8 +391,10 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) { if (ctxt == NULL) return; xsltSetCtxtParseOptions(ctxt, options); +#ifdef LIBXML_XINCLUDE_ENABLED if (xinclude) ctxt->xinclude = 1; +#endif if (profile) { res = xsltApplyStylesheetUser(cur, doc, params, NULL, stderr, ctxt); |