← Prev in month ← Prev in thread

Draftmode image location

From
<>
Date
2011-05-25T19:19:06+00:00
ID
Thread
Draftmode image location
All

 

1. Is there a better way of accessing the draft.png file in stock docbook 
xsl tree from my customization layer so I don't have to change the version 
number every time I update the XSL to a new version?

 

   <xsl:param name="draft.watermark.image" 
select="'../../doctools/docbook-xsl-1.76.1/images/images/draft.png'"/>

 

Could there be a standard docbook-xsl version ENTITY that I can 
build a path from?

Like this?

   <xsl:param name="draft.watermark.image" 
select="'../../doctools/&DOCBOOK_XSL_VERSION;/images/images/draft.png'"/>

2. Is there are parameter that can be set, similar to base.dir, that points 
to the base location of the stylesheets? Then the callout, draft image, and 
other locations could be relative to that directory. 

 

How do other folks get around this without hand tuning paths every time a 
version changes?

 

 

 

Regards,

Dean Nelson
← Prev in month ← Prev in thread