- Timestamp:
- 04/30/08 17:43:22 (16 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/main.xml
r56 r58 7 7 xmlns="http://docbook.org/ns/docbook" 8 8 xmlns:xl="http://www.w3.org/1999/xlink" 9 xmlns:html="http://www.w3.org/1999/xhtml" 10 xml:lang="en"> 9 xmlns:html="http://www.w3.org/1999/xhtml"> 11 10 <!-- 12 11 module : … … 17 16 update : 18 17 $Id$ 18 fplod 2008-04-30T15:21:49Z aedon.locean-ipsl.upmc.fr (Darwin) 19 language inherited from biblio.xml 19 20 fplod 2008-03-20T15:52:10Z aedon.locean-ipsl.upmc.fr (Darwin) 21 20 22 --> 21 23 <title>Nemo Survey</title> -
trunk/main_html.xsl
r56 r58 1 1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 <xsl:stylesheet 3 xmlns:d="http://docbook.org/ns/docbook" 3 4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 5 xmlns:html="http://www.w3.org/1999/xhtml" … … 11 12 update : 12 13 $Id$ 14 fplod 2008-04-30T15:23:38Z aedon.locean-ipsl.upmc.fr (Darwin) 15 language inherited from biblio.xml 13 16 fplod 2008-04-28T11:02:38Z aedon.locean-ipsl.upmc.fr (Darwin) 14 17 input dbk5 … … 27 30 28 31 <xsl:include href="titlepage.superbib.xsl"/> 32 <xsl:include href="message_lang.xsl"/> 29 33 <xsl:include href="form_html.xsl"/> 30 34 … … 40 44 --> 41 45 <xsl:template name="user.footer.content"> 42 <xsl:element name="p"> 43 Last update : <xsl:value-of select="$makedate"/> 44 </xsl:element> 46 <xsl:call-template name="para_lastupdate"> 47 <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/> 48 <xsl:with-param name="date" select="$makedate"/> 49 <xsl:with-param name="mode" select="'html'"/> 50 </xsl:call-template> 45 51 </xsl:template> 46 52 -
trunk/makefile
r57 r58 234 234 $(DIRSRC)/style.css \ 235 235 $(DIRSRC)/main_html.xsl \ 236 $(DIRSRC)/message_lang.xsl \ 236 237 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 237 238 $(DIRSRC)/form_html.xsl \ … … 248 249 $(DIRSRC)/style.css \ 249 250 $(DIRSRC)/$(PRODUCT)01_html.xsl \ 251 $(DIRSRC)/message_lang.xsl \ 250 252 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 251 253 $(DIRTMP)/$(PRODUCT)01.xml … … 270 272 $(DIRSRC)/style.css \ 271 273 $(DIRSRC)/$(PRODUCT)01_html.xsl \ 274 $(DIRSRC)/message_lang.xsl \ 272 275 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 273 276 $(DIRTMP)/$(PRODUCT)02.xml … … 282 285 $(DIRSRC)/style.css \ 283 286 $(DIRSRC)/$(PRODUCT)many02_html.xsl \ 287 $(DIRSRC)/message_lang.xsl \ 284 288 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 285 289 $(DIRSRC)/form_html.xsl \ … … 300 304 $(DIRTMP)/$(PRODUCT)many02.xml : \ 301 305 $(DIRSRC)/$(PRODUCT)many02_xml.xsl \ 306 $(DIRSRC)/message_lang.xsl \ 302 307 $(DIRSRC)/form_db.xsl \ 303 308 $(DIRSRC)/compilers_db.xsl \ … … 324 329 $(DIRSRC)/style.css \ 325 330 $(DIRSRC)/$(PRODUCT)many01_html.xsl \ 331 $(DIRSRC)/message_lang.xsl \ 326 332 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 327 333 $(DIRTMP)/$(PRODUCT)many01.xml … … 335 341 $(DIRTMP)/$(PRODUCT)many01.xml : \ 336 342 $(DIRSRC)/$(PRODUCT)many01_xml.xsl \ 343 $(DIRSRC)/message_lang.xsl \ 337 344 $(DIRSRC)/firstname_id.xsl \ 338 345 $(DIRSRC)/surname_id.xsl \ … … 349 356 $(DIRTMP)/$(PRODUCT)02.xml : \ 350 357 $(DIRSRC)/$(PRODUCT)02_xml.xsl \ 358 $(DIRSRC)/message_lang.xsl \ 351 359 $(DIRSRC)/firstname_id.xsl \ 352 360 $(DIRSRC)/surname_id.xsl \ … … 434 442 $(DIRSRC)/style.css \ 435 443 $(DIRSRC)/user_html.xsl \ 444 $(DIRSRC)/message_lang.xsl \ 436 445 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 437 446 $(DIRSRC)/form_html.xsl \ … … 445 454 $(DIRTMP)/user_db.xml : \ 446 455 $(DIRSRC)/user_db.xsl \ 456 $(DIRSRC)/message_lang.xsl \ 447 457 $(DIRSRC)/components_db.xsl \ 448 458 $(DIRSRC)/compilers_db.xsl \ … … 469 479 $(DIRSRC)/style.css \ 470 480 $(DIRSRC)/main_html.xsl \ 481 $(DIRSRC)/message_lang.xsl \ 471 482 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 472 483 $(DIRSRC)/form_html.xsl \ … … 482 493 $(DIRSRC)/user.xml \ 483 494 $(DIRSRC)/template_db.xsl \ 495 $(DIRSRC)/message_lang.xsl \ 484 496 $(DIRSRC)/form_db.xsl \ 485 497 $(DIRSRC)/compilers_db.xsl \ -
trunk/message_lang.xsl
r57 r58 20 20 <xsl:param name="language"/> 21 21 <xsl:param name="date"/> 22 <xsl:param name="mode"/> 22 23 23 24 <xsl:variable name="message_lastupdate_bib"> … … 31 32 <xsl:otherwise> 32 33 <xsl:message terminate="yes"> 34 eee : in template para_lastupdate_bib 33 35 eee : unknown language : <xsl:value-of select="$language"/> 34 36 </xsl:message> … … 36 38 </xsl:choose> 37 39 </xsl:variable> 40 <xsl:text>
</xsl:text> 38 41 <para> 39 42 <xsl:value-of select="$message_lastupdate_bib"/> <xsl:value-of select="$date"/> 40 43 </para> 44 <xsl:text>
</xsl:text> 45 </xsl:template> 46 47 <xsl:template name="para_lastupdate_user"> 48 <!-- 49 Last update of the user databank : date 50 --> 51 <xsl:param name="language"/> 52 <xsl:param name="date"/> 53 <xsl:param name="mode"/> 54 55 <xsl:variable name="message_lastupdate_user"> 56 <xsl:choose> 57 <xsl:when test="($language = 'en')"> 58 Last update of the user databank : 59 </xsl:when> 60 <xsl:when test="($language = 'fr')"> 61 Dernière mise à jour de la base utilisateur : 62 </xsl:when> 63 <xsl:otherwise> 64 <xsl:message terminate="yes"> 65 eee : in template para_lastupdate_user 66 eee : unknown language : <xsl:value-of select="$language"/> 67 </xsl:message> 68 </xsl:otherwise> 69 </xsl:choose> 70 </xsl:variable> 71 <xsl:text>
</xsl:text> 72 <para> 73 <xsl:value-of select="$message_lastupdate_user"/> <xsl:value-of select="$date"/> 74 </para> 75 <xsl:text>
</xsl:text> 76 </xsl:template> 77 78 <xsl:template name="para_lastupdate"> 79 <!-- 80 Last update : date 81 --> 82 <xsl:param name="language"/> 83 <xsl:param name="date"/> 84 <xsl:param name="mode"/> 85 86 <xsl:variable name="message_lastupdate"> 87 <xsl:choose> 88 <xsl:when test="($language = 'en')"> 89 Last update : 90 </xsl:when> 91 <xsl:when test="($language = 'fr')"> 92 Dernière mise à jour : 93 </xsl:when> 94 <xsl:otherwise> 95 <xsl:message terminate="yes"> 96 eee : in template para_lastupdate 97 eee : unknown language : <xsl:value-of select="$language"/> 98 </xsl:message> 99 </xsl:otherwise> 100 </xsl:choose> 101 </xsl:variable> 102 103 <xsl:choose> 104 <xsl:when test="($mode = 'dbk')"> 105 <xsl:text>
</xsl:text> 106 <para> 107 <xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/> 108 </para> 109 <xsl:text>
</xsl:text> 110 </xsl:when> 111 <xsl:when test="($mode = 'html')"> 112 <xsl:element name="p"> 113 <xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/> 114 </xsl:element> 115 </xsl:when> 116 <xsl:when test="($mode = 'flat')"> 117 <xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/> 118 </xsl:when> 119 <xsl:otherwise> 120 <xsl:message terminate="yes"> 121 eee : in template para_lastupdate 122 eee : unknown mode : <xsl:value-of select="$mode"/> 123 </xsl:message> 124 </xsl:otherwise> 125 </xsl:choose> 126 41 127 </xsl:template> 42 128 -
trunk/superbib01_html.xsl
r49 r58 22 22 23 23 <xsl:include href="titlepage.superbib.xsl"/> 24 <xsl:include href="message_lang.xsl"/> 24 25 25 26 <xsl:template match="*" mode="book.titlepage.mode"/> … … 34 35 --> 35 36 <xsl:template name="user.footer.content"> 36 <xsl:element name="p"> 37 Last update : <xsl:value-of select="$makedate"/> 38 </xsl:element> 37 <xsl:call-template name="para_lastupdate"> 38 <xsl:with-param name="language" select="/article/@xml:lang"/> 39 <xsl:with-param name="date" select="$makedate"/> 40 <xsl:with-param name="mode" select="'html'"/> 41 </xsl:call-template> 42 39 43 </xsl:template> 40 44 -
trunk/superbib01_xml.xsl
r57 r58 13 13 $Id$ 14 14 fplod 2008-04-30T10:32:48Z aedon.locean-ipsl.upmc.fr (Darwin) 15 language inherited 15 language inherited from biblio.xml 16 16 fplod 2008-04-29T15:23:51Z aedon.locean-ipsl.upmc.fr (Darwin) 17 17 chgt for dbk5 in ++ -
trunk/superbib02_html.xsl
r49 r58 22 22 23 23 <xsl:include href="titlepage.superbib.xsl"/> 24 <xsl:include href="message_lang.xsl"/> 25 24 26 25 27 <xsl:template match="*" mode="book.titlepage.mode"/> … … 36 38 --> 37 39 <xsl:template name="user.footer.content"> 38 <xsl:element name="p"> 39 Last update : <xsl:value-of select="$makedate"/> 40 </xsl:element> 40 <xsl:call-template name="para_lastupdate"> 41 <xsl:with-param name="language" select="/article/@xml:lang"/> 42 <xsl:with-param name="date" select="$makedate"/> 43 <xsl:with-param name="mode" select="'html'"/> 44 </xsl:call-template> 41 45 </xsl:template> 42 46 -
trunk/superbib02_xml.xsl
r56 r58 12 12 update : 13 13 $Id$ 14 fplod 2008-04-30T15:02:03Z aedon.locean-ipsl.upmc.fr (Darwin) 15 language inherited from biblio.xml 14 16 fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin) 15 17 chgt for dbk5 … … 35 37 omit-xml-declaration="no"/> 36 38 39 <xsl:include href="message_lang.xsl"/> 40 37 41 <xsl:include href="firstname_id.xsl"/> 38 42 <xsl:include href="surname_id.xsl"/> … … 47 51 <xsl:attribute name="version">5.0</xsl:attribute> 48 52 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 49 <xsl:attribute name="xml:lang"> en</xsl:attribute>53 <xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute> 50 54 <title>NEMO - Publications - Papers by authors</title> 51 55 <info> … … 78 82 </xsl:element>. 79 83 </para> 80 <para> 81 Last update of the bibliography databank : <xsl:value-of select="d:info/d:date"/> 82 </para> 84 85 <xsl:call-template name="para_lastupdate_bib"> 86 <xsl:with-param name="language" select="@xml:lang"/> 87 <xsl:with-param name="date" select="d:info/d:date"/> 88 </xsl:call-template> 83 89 84 90 <sect1 xml:id="intro"> -
trunk/superbibmany01_html.xsl
r49 r58 23 23 24 24 <xsl:include href="titlepage.superbib.xsl"/> 25 <xsl:include href="message_lang.xsl"/> 26 25 27 26 28 <xsl:template match="*" mode="book.titlepage.mode"/> … … 43 45 --> 44 46 <xsl:template name="user.footer.navigation"> 45 <xsl:element name="p"> 46 Last update : <xsl:value-of select="$makedate"/> 47 </xsl:element> 47 <xsl:call-template name="para_lastupdate"> 48 <xsl:with-param name="language" select="/article/@xml:lang"/> 49 <xsl:with-param name="date" select="$makedate"/> 50 <xsl:with-param name="mode" select="'html'"/> 51 </xsl:call-template> 48 52 </xsl:template> 49 53 -
trunk/superbibmany01_xml.xsl
r56 r58 14 14 update : 15 15 $Id$ 16 fplod 2008-04-30T14:52:20Z aedon.locean-ipsl.upmc.fr (Darwin) 17 language inherited from biblio.xml 16 18 fplod 2008-04-29T15:57:17Z aedon.locean-ipsl.upmc.fr (Darwin) 17 19 chgt for dbk5 in … … 33 35 omit-xml-declaration="no"/> 34 36 37 <xsl:include href="message_lang.xsl"/> 38 35 39 <xsl:include href="firstname_id.xsl"/> 36 40 <xsl:include href="surname_id.xsl"/> … … 45 49 <xsl:attribute name="version">5.0</xsl:attribute> 46 50 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 47 <xsl:attribute name="xml:lang"> en</xsl:attribute>51 <xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute> 48 52 <title>NEMO - Publications - Papers by authors</title> 49 53 <info> … … 76 80 </xsl:element>. 77 81 </para> 78 <para> 79 Last update of the bibliography databank : <xsl:value-of select="d:info/d:date"/> 80 </para> 82 <xsl:call-template name="para_lastupdate_bib"> 83 <xsl:with-param name="language" select="@xml:lang"/> 84 <xsl:with-param name="date" select="d:info/d:date"/> 85 </xsl:call-template> 81 86 82 87 <sect1 xml:id="intro"> -
trunk/superbibmany02_html.xsl
r49 r58 15 15 16 16 <xsl:include href="titlepage.superbib.xsl"/> 17 <xsl:include href="message_lang.xsl"/> 18 17 19 <xsl:include href="form_html.xsl"/> 18 20 … … 35 37 --> 36 38 <xsl:template name="user.footer.navigation"> 37 <xsl:element name="p"> 38 Last update : <xsl:value-of select="$makedate"/> 39 </xsl:element> 39 <xsl:call-template name="para_lastupdate"> 40 <xsl:with-param name="language" select="/article/@xml:lang"/> 41 <xsl:with-param name="date" select="$makedate"/> 42 <xsl:with-param name="mode" select="'html'"/> 43 </xsl:call-template> 40 44 </xsl:template> 41 45 -
trunk/superbibmany02_xml.xsl
r56 r58 15 15 update : 16 16 $Id$ 17 fplod 2008-04-30T14:52:55Z aedon.locean-ipsl.upmc.fr (Darwin) 18 language inherited from biblio.xml 17 19 fplod 2008-04-30T06:44:31Z aedon.locean-ipsl.upmc.fr (Darwin) 18 20 chgt for dbk5 in … … 36 38 omit-xml-declaration="yes"/> 37 39 40 <xsl:include href="message_lang.xsl"/> 41 38 42 <xsl:include href="firstname_id.xsl"/> 39 43 <xsl:include href="surname_id.xsl"/> … … 48 52 <xsl:attribute name="version">5.0</xsl:attribute> 49 53 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 50 <xsl:attribute name="xml:lang"> en</xsl:attribute>54 <xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute> 51 55 <title>NEMO Survey - Known users</title> 52 56 <info> … … 75 79 </xsl:element> 76 80 77 <para> 78 Last update of the bibliography databank : <xsl:value-of select="d:info/d:date"/> 79 </para> 80 <para> 81 Last update of the user databank : <xsl:value-of select="document('user.xml')/users/date"/> 82 </para> 81 <xsl:call-template name="para_lastupdate_bib"> 82 <xsl:with-param name="language" select="@xml:lang"/> 83 <xsl:with-param name="date" select="d:info/d:date"/> 84 </xsl:call-template> 85 86 <xsl:call-template name="para_lastupdate_user"> 87 <xsl:with-param name="language" select="@xml:lang"/> 88 <xsl:with-param name="date" select="document('user.xml')/users/date"/> 89 </xsl:call-template> 83 90 84 91 <xsl:call-template name="table_authors"> -
trunk/template_db.xsl
r55 r58 3 3 version="1.0" 4 4 xmlns:html="http://www.w3.org/1999/xhtml" 5 xmlns:d="http://docbook.org/ns/docbook" 5 6 xmlns:xl="http://www.w3.org/1999/xlink" 6 7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> … … 12 13 update : 13 14 $Id$ 15 fplod 2008-04-30T13:30:47Z aedon.locean-ipsl.upmc.fr (Darwin) 16 language inherited from biblio.xml 14 17 fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 15 18 chgt for dbk5 … … 24 27 omit-xml-declaration="no"/> 25 28 29 <xsl:include href="message_lang.xsl"/> 26 30 <xsl:include href="form_db.xsl"/> 27 31 … … 35 39 <xsl:attribute name="version">5.0</xsl:attribute> 36 40 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 37 <!--++ 38 <xsl:attribute name="xmlns:html">http://www.w3.org/1999/xhtml</xsl:attribute> 39 ++--> 40 <xsl:attribute name="xml:lang">en</xsl:attribute> 41 <xsl:attribute name="xml:lang"><xsl:value-of select="document('biblio.xml')/d:bibliography/@xml:lang"/></xsl:attribute> 41 42 <xsl:attribute name="xml:id">template_form</xsl:attribute> 42 43 … … 53 54 <!-- ++ date --> 54 55 </info> 56 <xsl:text>
</xsl:text> 55 57 56 58 <xsl:comment> 57 59 template form from template userid in user.xml. 58 Last update of the user databank : <xsl:value-of select="ancestor::users/child::date"/> 60 <xsl:call-template name="para_lastupdate_user"> 61 <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/> 62 63 <xsl:with-param name="date" select="ancestor::users/child::date"/> 64 </xsl:call-template> 59 65 </xsl:comment> 66 60 67 <xsl:text>
</xsl:text> 61 68 <xsl:element name="sect1"> -
trunk/user_db.xsl
r55 r58 2 2 <xsl:stylesheet 3 3 version="1.0" 4 xmlns:d="http://docbook.org/ns/docbook" 4 5 xmlns:xl="http://www.w3.org/1999/xlink" 5 6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> … … 11 12 update : 12 13 $Id$ 14 fplod 2008-04-30T13:55:17Z aedon.locean-ipsl.upmc.fr (Darwin) 15 language inherited from biblio.xml 13 16 fplod 2008-04-29T10:23:26Z aedon.locean-ipsl.upmc.fr (Darwin) 14 17 chgt for dbk5 … … 21 24 --> 22 25 26 <xsl:include href="message_lang.xsl"/> 23 27 <xsl:include href="components_db.xsl"/> 24 28 <xsl:include href="compilers_db.xsl"/> … … 37 41 <xsl:attribute name="version">5.0</xsl:attribute> 38 42 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 39 <xsl:attribute name="xml:lang"> en</xsl:attribute>43 <xsl:attribute name="xml:lang"><xsl:value-of select="document('biblio.xml')/d:bibliography/@xml:lang"/></xsl:attribute> 40 44 <xsl:attribute name="xml:id">users</xsl:attribute> 41 45 … … 83 87 </para> 84 88 85 <para> 86 Last update of the user databank : <xsl:value-of select="./date"/> 87 </para> 89 <xsl:call-template name="para_lastupdate_user"> 90 <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/> 91 <xsl:with-param name="date" select="./date"/> 92 </xsl:call-template> 88 93 89 94 <sect1 xml:id="intro"> -
trunk/user_html.xsl
r49 r58 22 22 23 23 <xsl:include href="titlepage.superbib.xsl"/> 24 <xsl:include href="message_lang.xsl"/> 25 24 26 <xsl:include href="form_html.xsl"/> 25 27 … … 35 37 --> 36 38 <xsl:template name="user.footer.content"> 37 <xsl:element name="p"> 38 Last update : <xsl:value-of select="$makedate"/> 39 </xsl:element> 39 <xsl:call-template name="para_lastupdate"> 40 <xsl:with-param name="language" select="@xml:lang"/> 41 <xsl:with-param name="date" select="$makedate"/> 42 <xsl:with-param name="mode" select="'html'"/> 43 </xsl:call-template> 40 44 </xsl:template> 41 45
Note: See TracChangeset
for help on using the changeset viewer.