On Tue, Feb 23, 2010 at 10:14 AM, Mathieu Malaterre <mathieu.malate...@gmail.com> wrote: > On Mon, Feb 22, 2010 at 7:26 PM, Daniel Leidert > <daniel.leidert.s...@gmx.net> wrote: >> Am Montag, den 22.02.2010, 11:04 +0100 schrieb Mathieu Malaterre: >> >>> 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"/> >> >> Please use >> >> <xsl:param name="highlight.xslthl.config" select="'path'"/> >> >> (note the single quotation marks) or >> >> <xsl:param name="highlight.xslthl.config">path</xsl:param> > > Both: > > <xsl:param name="highlight.xslthl.config" > select="'/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml'"/> > and > <xsl:param > name="highlight.xslthl.config">/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml</xsl:param> > > fails with: > > $ java -classpath > /usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar > com.icl.saxon.StyleSheet -o myfile.html input.xml myhtml.xsl > Loading Xslthl configuration from > /home/mathieu/Software/xslthl/highlighters/xslthl-config.xml... > XSLT Highlighter: Cannot read xslthl-config.xml, no custom > highlighters will be available. > > Without your help I was getting: > > $ java -classpath > /usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar > com.icl.saxon.StyleSheet -o myfile.html input.xml myhtml.xsl > Loading Xslthl configuration from xslthl-config.xml... > XSLT Highlighter: Cannot read xslthl-config.xml, no custom > highlighters will be available. > > [pay attention to the second line of output] > > So at least the xml path to xslthl-config.xml seems to be read in > properly now (thanks!), but still there is something funky going on. > I'll try with saxonb...
Silly me. The proper solution was simply: <xsl:param name="highlight.xslthl.config">file:////home/mathieu/Software/xslthl/highlighters/xslthl-config.xml</xsl:param> Sorry for the noise. -- Mathieu --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org