fr/news/Makefile.inc: MFen 1.2 fr/news/Makefile: MFen 1.33 fr/news/press.xsl: MFen 1.3 fr/news/newsflash.xsl: MFen 1.7 fr/news/news-rdf.xsl: MFen 1.4 fr/news/includes.xsl: MFen 1.4 fr/news/press.xml: MFen 1.62 (incomplete translation) fr/news/news.xml: MFen 1.127 none of the original qnewsletter* files have a revision number. Approved by: gioria (mentor)
31 lines
1 KiB
XML
31 lines
1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
<!-- $FreeBSD$ -->
|
|
|
|
<!--
|
|
The FreeBSD French Documentation Project
|
|
Original revision: 1.4
|
|
|
|
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
|
|
-->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
|
|
<xsl:variable name="newshome">
|
|
<a href="{$base}/news/news.html">Accueil Nouvelles</a>
|
|
</xsl:variable>
|
|
|
|
<!-- Generate a unique anchor for this event -->
|
|
<xsl:template name="generate-event-anchor">
|
|
<xsl:value-of select="ancestor::year/name"/>
|
|
<xsl:value-of select="ancestor::month/name"/>
|
|
<xsl:value-of select="ancestor::day/name"/>:<xsl:value-of select="count(preceding-sibling::event)"/>
|
|
</xsl:template>
|
|
|
|
<!-- Generate a unique anchor for this story -->
|
|
<xsl:template name="generate-story-anchor">
|
|
<xsl:value-of select="ancestor::year/name"/>
|
|
<xsl:value-of select="ancestor::month/name"/>:<xsl:text/>
|
|
<xsl:value-of select="count(following-sibling::story)"/>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|