Re: [docbook-apps] rcsdate not appearing

From
=?JRN-8859-1?P?R=F9bastien_Heorget?=
Date
2004-02-24T08:39:55+00:00
ID
Thread
Re: [docbook-apps] rcsdate not appearing
Steinar Bang wrote:
> Platform: Intel PII, debian sarge testing/unstable, DocBook Website 2.4.0
> 	  libxml2 2.6.5-1, libxslt1/xsltproc 1.1.2-3
> 
> I have the following line in my layout.xml file
>   <config param="rcsdate" value="$Date: 2004/02/23 11:47:17 $"/>
> 
> No date appears at the bottom left of my generated pages, that I can
> see.
> 
> Is there some other setting I have to make?  Or should the date appear
> as soon as the config parameter rcsdate has been set?
> 
> Thanx!

Hi,

I added the following to my xsl to display the last modification date :

<xsl:template name="rcsdate.format">
  <xsl:param name="rcsdate" select="./config[@param='rcsdate']/@value"/>
  Derni鋨e modification : <xsl:value-of select="substring($rcsdate, 7, 
11)"/>
</xsl:template>

I'm not an xsl expert, so there may be a better solution.

++

-- 
S嶵astien Georget
INRIA Sophia-Antipolis, Service DREAM, B.P. 93
06902 Sophia-Antipolis Cedex, FRANCE
E-mail: