Александр Мартынов wrote:

> <!-- xsl:param name="highlight.xslthl.config" 
> select="file:/F:/work/docbook-tools/docbook-xsl/highlighting/xslthl-config.xml"/
>  -->

<xsl:param name="highlight.xslthl.config"
select="'file:/F:/work/docbook-tools/docbook-xsl/highlighting/xslthl-config.xml'"/>


<xsl:param
name="highlight.xslthl.config">file:/F:/work/docbook-tools/docbook-xsl/highlighting/xslthl-config.xml</xsl:param>


> There is the quiestion: when I try to set up parameter
> 'highlight.xslthl.config' in xsl file, like shown above, I have got an
> error:
> 
> Error at xsl:param on line 22 of file:/F:/work/docbook-tools/bin/my-pdf.xsl:
>   Invalid QName: file:
> Transformation failed: Failed to compile stylesheet. 1 error detected.

You have to put value inside '' to make it string constant not path
selection as shown above.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to