source: trunk/usernemo_db.xsl @ 8

Last change on this file since 8 was 5, checked in by pinsard, 17 years ago

add middle name in usernemo.html and make makefile usefull for everyboby working on NEMO survey. see ticket:2 and ticket:5

  • Property svn:keywords set to Id
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="iso-8859-1"?>
2
3<!--
4module :
5creation des élements de formulaire (sans saisie) d'après les info usernemo
6
7source :
8/usr/home/fplod/incas/bibnemo/src/bibnemomaf/userinfo_db.xsl sur aedon.locean-ipsl.upmc.fr
9
10update :
11$Id$
12fplod 2007-06-06T10:20:22Z aedon.locean-ipsl.upmc.fr (Darwin)
13add middle name
14fplod 2007-05-04T10:26:02Z aedon.locean-ipsl.upmc.fr (Darwin)
15hohmogéneisation sur bibnemo pr auteur et par année
16fplod 2007-04-20T15:31:20Z aedon.locean-ipsl.upmc.fr (Darwin)
17creation
18-->
19
20<xsl:stylesheet
21 id="id" version="1.0"
22 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
23
24<xsl:include href="components_db.xsl"/>
25<xsl:include href="compilers_db.xsl"/>
26<xsl:include href="platforms_db.xsl"/>
27<xsl:include href="processors_db.xsl"/>
28
29<xsl:output
30 method="xml"
31 indent="yes"
32 encoding="ISO-8859-1"
33 omit-xml-declaration="no"
34 doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
35 doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
36
37<xsl:template match="usersnemo">
38 <article id="usersnemo" lang="en">
39
40 <title>Nemo Users</title>
41<articleinfo>
42<authorgroup>
43<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author>
44<author><personname><firstname>Françoise</firstname> <surname>Pinsard</surname></personname></author>
45<!--++-->
46</authorgroup>
47<keywordset>
48<keyword>NEMO</keyword>
49</keywordset>
50</articleinfo>
51<highlights id="top">
52<para>
53This page intents to provide an exhaustive list of the papers that have used
54NEMO or OPA and/or results from them.
55Obvioulsy many papers are missing.
56If you find omissions or mistakes please ask some modification via
57<xsl:element name="ulink">
58 <xsl:attribute name="url">
59  <xsl:value-of select="'./bibnemomain.php'"/>
60 </xsl:attribute>
61 <xsl:text>Nemo Survey main page</xsl:text>
62</xsl:element>.
63</para>
64</highlights>
65<para>
66Yoy can also see <quote>NEMO - Publications - Papers</quote> sorted by
67<xsl:text>authors</xsl:text>
68authors in
69<xsl:element name="ulink">
70 <xsl:attribute name="url">
71  <xsl:value-of select="'./bibnemomaf02.html'"/>
72 </xsl:attribute>
73 <xsl:text>one big document </xsl:text>
74</xsl:element>
75<xsl:text> or in </xsl:text>
76<xsl:element name="ulink">
77 <xsl:attribute name="url">
78  <xsl:value-of select="'../many/bibnemomaf03/index.html'"/>
79 </xsl:attribute>
80 <xsl:text>several </xsl:text>
81</xsl:element> <xsl:text> (one by author)</xsl:text>.
82</para>
83
84<para>
85Last update of the usernemo databank : <xsl:value-of select="./date"/>
86</para>
87
88<sect1 id="intro">
89<title>Introduction</title>
90<para>
91This document provide user's information sorted by user's id (<emphasis>SURNAME_f</emphasis>).
92</para>
93</sect1>
94
95 <xsl:for-each select="usernemo">
96 <xsl:sort order="ascending" data-type="text" select="userid"/>
97  <xsl:if test="userid != 'template'">
98   <xsl:apply-templates select="."/>
99  </xsl:if>
100 </xsl:for-each>
101 </article>
102</xsl:template>
103
104<xsl:template match="usernemo">
105 <xsl:text>&#xA;</xsl:text>
106 <xsl:element name="sect1">
107  <xsl:attribute name="id"><xsl:value-of select="userid"/></xsl:attribute>
108  <xsl:text>&#xA;</xsl:text>
109  <xsl:element name="title">
110   <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"/>
111   <xsl:element name="ulink">
112    <xsl:attribute name="url"><xsl:text>#top</xsl:text></xsl:attribute>
113    <xsl:element name="inlinemediaobject">
114     <xsl:element name="imageobject">
115      <xsl:element name="imagedata">
116       <xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute>
117      </xsl:element>
118     </xsl:element>
119     <xsl:element name="textobject">
120      <xsl:element name="phrase">
121       <xsl:text>top</xsl:text>
122      </xsl:element>
123     </xsl:element>
124    </xsl:element>
125   </xsl:element>
126  </xsl:element>
127  <xsl:text>&#xA;</xsl:text>
128  <xsl:element name="para">
129   <xsl:value-of select="email"/>
130  </xsl:element>
131  <xsl:text>&#xA;</xsl:text>
132  <xsl:element name="para"> <!-- ++ para ou form -->
133   <xsl:call-template name="components">
134    <xsl:with-param name="usernemo" select="."/>
135    <xsl:with-param name="visu_modif" select="'visu'"/>
136   </xsl:call-template>
137   <xsl:call-template name="platforms">
138    <xsl:with-param name="usernemo" select="."/>
139    <xsl:with-param name="visu_modif" select="'visu'"/>
140   </xsl:call-template>
141   <xsl:call-template name="processors">
142    <xsl:with-param name="usernemo" select="."/>
143    <xsl:with-param name="visu_modif" select="'visu'"/>
144   </xsl:call-template>
145   <xsl:call-template name="compilers">
146    <xsl:with-param name="usernemo" select="."/>
147    <xsl:with-param name="visu_modif" select="'visu'"/>
148   </xsl:call-template>
149  <xsl:text>&#xA;</xsl:text>
150  </xsl:element>
151 <xsl:text>&#xA;</xsl:text>
152 </xsl:element>
153</xsl:template>
154
155</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.