Changeset 58 for trunk/template_db.xsl


Ignore:
Timestamp:
04/30/08 17:43:22 (16 years ago)
Author:
pinsard
Message:

introduce language dependency on each update message (bibilo, user, html files)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template_db.xsl

    r55 r58  
    33version="1.0" 
    44xmlns:html="http://www.w3.org/1999/xhtml" 
     5xmlns:d="http://docbook.org/ns/docbook" 
    56xmlns:xl="http://www.w3.org/1999/xlink" 
    67xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
     
    1213update : 
    1314$Id$ 
     15fplod 2008-04-30T13:30:47Z aedon.locean-ipsl.upmc.fr (Darwin) 
     16language inherited  from biblio.xml 
    1417fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1518chgt for dbk5 
     
    2427 omit-xml-declaration="no"/> 
    2528 
     29<xsl:include href="message_lang.xsl"/> 
    2630<xsl:include href="form_db.xsl"/> 
    2731 
     
    3539<xsl:attribute name="version">5.0</xsl:attribute> 
    3640<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> 
    4142<xsl:attribute name="xml:id">template_form</xsl:attribute> 
    4243 
     
    5354<!-- ++ date --> 
    5455</info> 
     56 <xsl:text>&#xA;</xsl:text> 
    5557 
    5658 <xsl:comment>  
    5759  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> 
    5965 </xsl:comment> 
     66 
    6067 <xsl:text>&#xA;</xsl:text> 
    6168 <xsl:element name="sect1"> 
Note: See TracChangeset for help on using the changeset viewer.