Last change
on this file since 57 was
57,
checked in by pinsard, 16 years ago
|
start to introduce language dependency
|
File size:
966 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="iso-8859-1"?> |
---|
2 | <xsl:stylesheet |
---|
3 | version="1.0" |
---|
4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
5 | |
---|
6 | <!-- |
---|
7 | module : |
---|
8 | produce paragraph according to language |
---|
9 | |
---|
10 | update : |
---|
11 | $Id$ |
---|
12 | fplod 2008-04-30T10:57:13Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
13 | creation |
---|
14 | --> |
---|
15 | |
---|
16 | <xsl:template name="para_lastupdate_bib"> |
---|
17 | <!-- |
---|
18 | Last update of the bibliography databank : date |
---|
19 | --> |
---|
20 | <xsl:param name="language"/> |
---|
21 | <xsl:param name="date"/> |
---|
22 | |
---|
23 | <xsl:variable name="message_lastupdate_bib"> |
---|
24 | <xsl:choose> |
---|
25 | <xsl:when test="($language = 'en')"> |
---|
26 | Last update of the bibliography databank : |
---|
27 | </xsl:when> |
---|
28 | <xsl:when test="($language = 'fr')"> |
---|
29 | Dernière mise à jour de la bibliographie : |
---|
30 | </xsl:when> |
---|
31 | <xsl:otherwise> |
---|
32 | <xsl:message terminate="yes"> |
---|
33 | eee : unknown language : <xsl:value-of select="$language"/> |
---|
34 | </xsl:message> |
---|
35 | </xsl:otherwise> |
---|
36 | </xsl:choose> |
---|
37 | </xsl:variable> |
---|
38 | <para> |
---|
39 | <xsl:value-of select="$message_lastupdate_bib"/> <xsl:value-of select="$date"/> |
---|
40 | </para> |
---|
41 | </xsl:template> |
---|
42 | |
---|
43 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.