Re: [docbook-apps] Relative path for highlight.xslthl.config

From
Lars Vogel <>
Date
2011-11-22T10:23:16+00:00
ID
CAOeJ3wtdXvOR5=
Thread
Re: [docbook-apps] Relative path for highlight.xslthl.config
Hi Jirka,

great tip. Thanks a lot, works perfectly.

Best regards, Lars

2011/11/21 Jirka Kosek <>

On 21.11.2011 19:59, Lars Vogel wrote:

> Currently:

>

> <param name="highlight.xslthl.config"

> _expression_="file:///C:/Users/vogella/workspace/vogella/de.vogella.docbook.first/docbook-xsl-1.76.1/highlighting/xslthl-config.xml"

> />

>

> I did not manage to make the system accept a relative path. Can someone

> please share an example?

I don't remember details, but there were some problems with relative

paths which I don't recall now. But as it seems that you are using Ant,

you can use its features to convert relative path into absolute URL,

something like

<!-- Location of XSLTH configuration -->

<property name="xslthl.config" value=".../xslthl-config.xml"/>

<makeurl file="${xslthl.config}" property="xslthl.config.url"/>

and then

...

<param name="highlight.xslthl.config" _expression_="${xslthl.config.url}"/>

                                        Jirka

--

------------------------------------------------------------------

  Jirka Kosek      e-mail:       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

------------------------------------------------------------------

-- 
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter