OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: xsltproc and xsl:include


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC