[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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ère 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ébastien Georget INRIA Sophia-Antipolis, Service DREAM, B.P. 93 06902 Sophia-Antipolis Cedex, FRANCE E-mail:sebastien.georget@sophia.inria.fr
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]