[31] | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
---|
[55] | 2 | <xsl:stylesheet |
---|
| 3 | version="1.0" |
---|
[58] | 4 | xmlns:d="http://docbook.org/ns/docbook" |
---|
[55] | 5 | xmlns:xl="http://www.w3.org/1999/xlink" |
---|
| 6 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
[31] | 7 | |
---|
[76] | 8 | <!--rst |
---|
| 9 | |
---|
[108] | 10 | .. _user_db.xsl: |
---|
| 11 | |
---|
[95] | 12 | =========== |
---|
| 13 | user_db.xsl |
---|
| 14 | =========== |
---|
[76] | 15 | |
---|
[31] | 16 | creation des élements de formulaire (sans saisie) d'après les info user |
---|
| 17 | |
---|
[76] | 18 | EVOLUTIONS |
---|
| 19 | ========== |
---|
| 20 | |
---|
[31] | 21 | $Id$ |
---|
[76] | 22 | |
---|
| 23 | - fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 24 | |
---|
| 25 | * project name from main.xml file instead of a fixed one |
---|
| 26 | |
---|
| 27 | - fplod 2008-04-30T13:55:17Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 28 | |
---|
| 29 | * language inherited from biblio.xml |
---|
| 30 | |
---|
| 31 | - fplod 2008-04-29T10:23:26Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 32 | |
---|
| 33 | * chgt for dbk5 |
---|
| 34 | |
---|
| 35 | - fplod 2007-06-06T10:20:22Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 36 | |
---|
| 37 | * add middle name |
---|
| 38 | |
---|
| 39 | - fplod 2007-05-04T10:26:02Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 40 | |
---|
| 41 | * homogéneisation sur bibnemo pr auteur et par année |
---|
| 42 | |
---|
| 43 | - fplod 2007-04-20T15:31:20Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 44 | |
---|
| 45 | * creation |
---|
| 46 | |
---|
[31] | 47 | --> |
---|
| 48 | |
---|
[58] | 49 | <xsl:include href="message_lang.xsl"/> |
---|
[31] | 50 | <xsl:include href="components_db.xsl"/> |
---|
| 51 | <xsl:include href="compilers_db.xsl"/> |
---|
| 52 | <xsl:include href="platforms_db.xsl"/> |
---|
| 53 | <xsl:include href="processors_db.xsl"/> |
---|
| 54 | |
---|
| 55 | <xsl:output |
---|
| 56 | method="xml" |
---|
| 57 | indent="yes" |
---|
| 58 | encoding="ISO-8859-1" |
---|
[55] | 59 | omit-xml-declaration="no"/> |
---|
[31] | 60 | |
---|
| 61 | <xsl:template match="users"> |
---|
| 62 | |
---|
[76] | 63 | <xsl:variable name="project"> |
---|
| 64 | <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> |
---|
| 65 | </xsl:variable> |
---|
| 66 | |
---|
[55] | 67 | <xsl:element name="article"> |
---|
| 68 | <xsl:attribute name="version">5.0</xsl:attribute> |
---|
| 69 | <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> |
---|
[64] | 70 | <xsl:attribute name="xml:lang"><xsl:value-of select="/d:bibliography/@xml:lang"/></xsl:attribute> |
---|
[55] | 71 | <xsl:attribute name="xml:id">users</xsl:attribute> |
---|
| 72 | |
---|
| 73 | |
---|
[76] | 74 | <title><xsl:value-of select="$project"/> Users</title> |
---|
[55] | 75 | <info> |
---|
[31] | 76 | <authorgroup> |
---|
| 77 | <author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> |
---|
| 78 | <author><personname><firstname>Françoise</firstname> <surname>Pinsard</surname></personname></author> |
---|
| 79 | <!--++--> |
---|
| 80 | </authorgroup> |
---|
| 81 | <keywordset> |
---|
[76] | 82 | <keyword><xsl:value-of select="$project"/></keyword> |
---|
[31] | 83 | </keywordset> |
---|
[55] | 84 | </info> |
---|
| 85 | <para xml:id="top"> |
---|
[76] | 86 | |
---|
| 87 | This page intents to provide an exhaustive list of authors or users of <xsl:value-of select="$project"/>. |
---|
| 88 | </para> |
---|
| 89 | <para> |
---|
[31] | 90 | If you find omissions or mistakes please ask some modification via |
---|
[55] | 91 | <xsl:element name="link"> |
---|
| 92 | <xsl:attribute name="xl:href"> |
---|
[39] | 93 | <xsl:value-of select="'./main.php'"/> |
---|
[31] | 94 | </xsl:attribute> |
---|
[76] | 95 | <xsl:value-of select="document('main.xml')/d:article/d:title"/> |
---|
| 96 | <xsl:text> main page</xsl:text> |
---|
[31] | 97 | </xsl:element>. |
---|
| 98 | </para> |
---|
| 99 | <para> |
---|
[76] | 100 | Yoy can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by |
---|
[31] | 101 | authors in |
---|
[55] | 102 | <xsl:element name="link"> |
---|
| 103 | <xsl:attribute name="xl:href"> |
---|
[40] | 104 | <xsl:value-of select="'./superbib02.html'"/> |
---|
[31] | 105 | </xsl:attribute> |
---|
| 106 | <xsl:text>one big document </xsl:text> |
---|
| 107 | </xsl:element> |
---|
| 108 | <xsl:text> or in </xsl:text> |
---|
[55] | 109 | <xsl:element name="link"> |
---|
| 110 | <xsl:attribute name="xl:href"> |
---|
[40] | 111 | <xsl:value-of select="'../many/superbib01/index.html'"/> |
---|
[31] | 112 | </xsl:attribute> |
---|
| 113 | <xsl:text>several </xsl:text> |
---|
| 114 | </xsl:element> <xsl:text> (one by author)</xsl:text>. |
---|
| 115 | </para> |
---|
| 116 | |
---|
[58] | 117 | <xsl:call-template name="para_lastupdate_user"> |
---|
| 118 | <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/> |
---|
| 119 | <xsl:with-param name="date" select="./date"/> |
---|
| 120 | </xsl:call-template> |
---|
[31] | 121 | |
---|
[55] | 122 | <sect1 xml:id="intro"> |
---|
[31] | 123 | <title>Introduction</title> |
---|
| 124 | <para> |
---|
| 125 | This document provide user's information sorted by user's id (<emphasis>SURNAME_f</emphasis>). |
---|
| 126 | </para> |
---|
| 127 | </sect1> |
---|
| 128 | |
---|
| 129 | <xsl:for-each select="user"> |
---|
| 130 | <xsl:sort order="ascending" data-type="text" select="userid"/> |
---|
| 131 | <xsl:if test="userid != 'template'"> |
---|
| 132 | <xsl:apply-templates select="."/> |
---|
| 133 | </xsl:if> |
---|
| 134 | </xsl:for-each> |
---|
[55] | 135 | </xsl:element> |
---|
[31] | 136 | </xsl:template> |
---|
| 137 | |
---|
| 138 | <xsl:template match="user"> |
---|
| 139 | <xsl:text>
</xsl:text> |
---|
| 140 | <xsl:element name="sect1"> |
---|
[55] | 141 | <xsl:attribute name="xml:id"><xsl:value-of select="userid"/></xsl:attribute> |
---|
[31] | 142 | <xsl:text>
</xsl:text> |
---|
| 143 | <xsl:element name="title"> |
---|
| 144 | <xsl:value-of select="personname/firstname"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/othername[@role='mi']"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/surname"/> |
---|
[55] | 145 | <xsl:element name="link"> |
---|
| 146 | <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute> |
---|
[31] | 147 | <xsl:element name="inlinemediaobject"> |
---|
| 148 | <xsl:element name="imageobject"> |
---|
| 149 | <xsl:element name="imagedata"> |
---|
| 150 | <xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute> |
---|
| 151 | </xsl:element> |
---|
| 152 | </xsl:element> |
---|
| 153 | <xsl:element name="textobject"> |
---|
| 154 | <xsl:element name="phrase"> |
---|
| 155 | <xsl:text>top</xsl:text> |
---|
| 156 | </xsl:element> |
---|
| 157 | </xsl:element> |
---|
| 158 | </xsl:element> |
---|
| 159 | </xsl:element> |
---|
| 160 | </xsl:element> |
---|
| 161 | <xsl:text>
</xsl:text> |
---|
| 162 | <xsl:element name="para"> |
---|
| 163 | <xsl:value-of select="email"/> |
---|
| 164 | </xsl:element> |
---|
| 165 | <xsl:text>
</xsl:text> |
---|
| 166 | <xsl:element name="para"> <!-- ++ para ou form --> |
---|
| 167 | <xsl:call-template name="components"> |
---|
| 168 | <xsl:with-param name="user" select="."/> |
---|
[55] | 169 | <xsl:with-param name="author_id" select="./userid"/> |
---|
[31] | 170 | <xsl:with-param name="visu_modif" select="'visu'"/> |
---|
| 171 | </xsl:call-template> |
---|
| 172 | <xsl:call-template name="platforms"> |
---|
| 173 | <xsl:with-param name="user" select="."/> |
---|
[55] | 174 | <xsl:with-param name="author_id" select="./userid"/> |
---|
[31] | 175 | <xsl:with-param name="visu_modif" select="'visu'"/> |
---|
| 176 | </xsl:call-template> |
---|
| 177 | <xsl:call-template name="processors"> |
---|
| 178 | <xsl:with-param name="user" select="."/> |
---|
[55] | 179 | <xsl:with-param name="author_id" select="./userid"/> |
---|
[31] | 180 | <xsl:with-param name="visu_modif" select="'visu'"/> |
---|
| 181 | </xsl:call-template> |
---|
| 182 | <xsl:call-template name="compilers"> |
---|
| 183 | <xsl:with-param name="user" select="."/> |
---|
[55] | 184 | <xsl:with-param name="author_id" select="./userid"/> |
---|
[31] | 185 | <xsl:with-param name="visu_modif" select="'visu'"/> |
---|
| 186 | </xsl:call-template> |
---|
| 187 | <xsl:text>
</xsl:text> |
---|
| 188 | </xsl:element> |
---|
| 189 | <xsl:text>
</xsl:text> |
---|
| 190 | </xsl:element> |
---|
| 191 | </xsl:template> |
---|
| 192 | |
---|
| 193 | </xsl:stylesheet> |
---|