This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
xsltproc and xsl:include
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: xsltproc and xsl:include
- From: Vince Thomas <vpthoma at us dot ibm dot com>
- Date: Wed, 22 Aug 2001 11:03:02 -0400
- List-Id: <docbook-apps.lists.oasis-open.org>
I can get xsltproc to work (and it's so much faster than xalan and java)
but the includes don't work unless I run in the xsl directory.
This is on Windows, I have a bat file
set PATH=c:\libxml2\lib\rel\libxml2_so;c:
\libxslt\lib\rel\libexslt_so;c:\libxslt\lib\rel\libxslt_so;%PATH%
c:\libxslt\util\xsltproc -o %1.html c:\docbook-xsl\html\chunk.xsl
%1.xml
Running in another directory I get
C:\home\sf\imd\doc>c:\libxslt\util\xsltproc --xinclude -o imd_model.html c:
\docb
ook-xsl\html\chunk.xsl imd_model.xml
compilation error: file c:\docbook-xsl\html\chunk.xsl line 10 element
import
xsl:import : unable to load autoidx.xsl
compilation error: file c:\docbook-xsl\html\chunk.xsl line 11 element
include
xsl:include : unable to load chunk-common.xsl
compilation error: file c:\docbook-xsl\html\chunk.xsl line 12 element
include
xsl:include : unable to load chunker.xsl
while it works fine running in \docbook-xsl\html. However, since I'm using
the chunker the output file is irrelevant and the files get generated in
the current directory
I could go through the files and patch the xsl:include statements to a full
path but it seems like there must be a better way.
docbook-xsl is version 1.44
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>