On Tue, Feb 23, 2010 at 10:14 AM, Mathieu Malaterre
<
mathieu.malaterre@gmail.com> wrote:
> On Mon, Feb 22, 2010 at 7:26 PM, Daniel Leidert
> <
daniel.leidert.spam@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