Changeset 76 for trunk/template_db.xsl
- Timestamp:
- 09/18/08 12:14:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template_db.xsl
r64 r76 7 7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 8 8 9 <!-- 10 module : 9 <!--rst 10 NAME 11 ==== 12 11 13 création du prototype de formulaire utilisateur 12 14 13 update : 15 EVOLUTIONS 16 ========== 17 14 18 $Id$ 15 fplod 2008-04-30T13:30:47Z aedon.locean-ipsl.upmc.fr (Darwin) 16 language inherited from biblio.xml 17 fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 18 chgt for dbk5 19 fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 20 creation 19 20 - fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin) 21 22 * project name from main.xml file instead of a fixed one 23 24 - fplod 2008-04-30T13:30:47Z aedon.locean-ipsl.upmc.fr (Darwin) 25 26 * language inherited from biblio.xml 27 28 - fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 29 30 * chgt for dbk5 31 32 - fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 33 34 * creation 21 35 --> 22 36 … … 35 49 36 50 <xsl:template match="user[child::userid='template']"> 51 <xsl:variable name="project"> 52 <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> 53 </xsl:variable> 54 37 55 <xsl:element name="article"> 38 56 <xsl:attribute name="version">5.0</xsl:attribute> … … 41 59 <xsl:attribute name="xml:id">template_form</xsl:attribute> 42 60 43 <title> Nemo Survey- Template</title>61 <title><xsl:value-of select="$project"/> - Template</title> 44 62 <info> 45 63 <authorgroup> … … 49 67 </authorgroup> 50 68 <keywordset> 51 <keyword> NEMO</keyword>69 <keyword><xsl:value-of select="$project"/></keyword> 52 70 </keywordset> 53 71 <!-- ++ date --> … … 55 73 <xsl:text>
</xsl:text> 56 74 57 <xsl:comment> 75 <xsl:comment> 58 76 template form from template userid in user.xml. 59 77 <xsl:call-template name="para_lastupdate_user"> … … 69 87 <title>Context</title> 70 88 <xsl:element name="para"> 71 The mail sent by filling this form will be used to update 72 <link xl:href="main.php"> Nemo-Publications-Papers</link>73 and <link xl:href="user.html"> NemoUsers</link>.89 The mail sent by filling this form will be used to update 90 <link xl:href="main.php"><xsl:value-of select="$project"/>-Publications-Papers</link> 91 and <link xl:href="user.html"><xsl:value-of select="$project"/> Users</link>. 74 92 </xsl:element> 75 93 </xsl:element>
Note: See TracChangeset
for help on using the changeset viewer.