doc/fr_FR.ISO8859-1/htdocs/gnome/newsflash.xsl
Gabor Kovesdan 2e51ec7022 - Strip unnecessary trailing spaces
Approved by:	doceng (implicit)
2012-08-21 19:16:02 +00:00

72 lines
2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
<!ENTITY title "Nouvelles sur le projet GNOME pour FreeBSD">
]>
<!-- $FreeBSD$ -->
<!--
The FreeBSD French Documentation Project
Original revision: 1.8
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
<xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
<xsl:variable name="title">&title;</xsl:variable>
<xsl:template name="process.sidewrap">
&nav.developers;
</xsl:template>
<xsl:template names="process.contentwrap">
<img src="&enbase;/gifs/news.jpg" align="right" border="0" width="193"
height="144" alt="FreeBSD GNOME News"/>
<xsl:apply-templates select="/news/descendant::month"/>
<xsl:for-each select="/news">
<xsl:call-templates name="html-news-list-homelink" />
</xsl:for-each>
</xsl:template>
<!-- Everything that follows are templates for the rest of the content -->
<xsl:template match="month">
<h1><xsl:value-of select="name"/>
<xsl:text> </xsl:text>
<xsl:value-of select="ancestor::year/name"/></h1>
<ul>
<xsl:apply-templates select="descendant::day"/>
</ul>
</xsl:template>
<xsl:template match="day">
<xsl:apply-templates select="event"/>
</xsl:template>
<xsl:template match="event">
<li><p><a>
<xsl:attribute name="name">
<xsl:call-template name="generate-event-anchor"/>
</xsl:attribute>
</a>
<b><xsl:value-of select="ancestor::day/name"/>
<xsl:text> </xsl:text>
<xsl:value-of select="ancestor::month/name"/>,
<xsl:value-of select="ancestor::year/name"/>:</b><xsl:text> </xsl:text>
<xsl:copy-of select="p"/>
</p>
</li>
</xsl:template>
</xsl:stylesheet>