doc/de/news/includes.xsl
Martin Heinen f45f70df6f MFbed: Update the German web site.
news/news.xml			1.166 -> 1.167
news/includes.xsl		1.4   -> 1.5
2003-08-26 16:08:17 +00:00

30 lines
1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
$FreeBSD$
$FreeBSDde: de-www/news/includes.xsl,v 1.3 2003/08/26 13:58:05 mheinen Exp $
basiert auf: 1.5
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:variable name="newshome">
<a href="{$base}/news/news.html">FreeBSD Neuigkeiten</a>
</xsl:variable>
<!-- Generate a unique anchor for this event -->
<xsl:template name="generate-event-anchor">
<xsl:text>event</xsl:text>
<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:text>story</xsl:text>
<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>