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

From
Lars Vogel <>
Date
2011-11-22T10:24:09+00:00
ID
CAOeJ3wtJrzf7tUyGVwJiv=oF1E+Tf01b10oMT0pheAu=
Thread
Re: [docbook-apps] Relative path for highlight.xslthl.config
Hello Dave,

thanks for the tip. This would also work but as an Apache Ant user, I think Jirkas tips fit better to my setup.

Best regards, Lars

2011/11/22 davep <>

On 11/21/2011 06:59 PM, Lars Vogel wrote:

Hi,

I'm currently using an absolute path for the syntax highlighting

configuration file. As I'm switching between computers back and forth I

would like to make this relative.

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 have the same problem, moving content from my disk to website.

My only solution was to have a common (absolute) address to use

in my case it was /dir/dir/file

If you can be assured of having the file on the same disk, this

solution will work for you. c: is redundant in a java world,

as is the file:/// prefix.

HTH

regards

-- 

Dave Pawson

XSLT XSL-FO FAQ.

http://www.dpawson.co.uk

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

To unsubscribe, e-mail: 

For additional commands, e-mail: 

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