This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]