Hi there,
Just a quick info since it took me quite some time, on linux
(debian) the solution :
<xsl:param name="highlight.xslthl.config"
select="/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml"/>
simply *does not* work. You have to use the -D option:
$ java -classpath
/usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar
-Dxslthl.config="file:////home/mathieu/Software/xslthl/highlighters/xslthl-config.xml"
com.icl.saxon.StyleSheet -o myfile.html myinput.xml myhtml.xsl
With a cusomization layer such as:
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import
href="/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl"/>
<xsl:import
href="/usr/share/xml/docbook/stylesheet/docbook-xsl/highlighting/common.xsl"/>
<xsl:import
href="/usr/share/xml/docbook/stylesheet/docbook-xsl/html/highlight.xsl"/>
<xsl:param name="highlight.source" select="1"/>
<!-- does not work: -->
<!--xsl:param name="highlight.xslthl.config"
select="file:////home/mathieu/Software/xslthl/highlighters/xslthl-config.xml"/-->
<!-- does not work: -->
<!--xsl:param name="highlight.xslthl.config"
select="/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml"/-->
</xsl:stylesheet>
HTH
--
Mathieu
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]