3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <xsl:import href="common.xsl"/>
8 <xsl:output method="xml"/>
10 <xsl:template match="/">
13 <title>Project Management</title>
16 <xsl:apply-templates/>
21 <xsl:template match="management">
22 <xsl:copy-of select="head-links/*"/>
23 <xsl:copy-of select="introduction/*"/>
25 <xsl:apply-templates select="main"/>
27 <xsl:copy-of select="other-infos/*"/>
28 <xsl:copy-of select="tail-links/*"/>
31 <xsl:template match="project-manager">
33 <span style="font-weight: bold">Project Manager: </span>
34 <a href="../people/{@site}/{@file}.html">
35 <xsl:call-template name="person-name">
36 <xsl:with-param name="file" select="concat(@site,'/',@file)"/>
41 <xsl:value-of select="mandate"/>
45 <xsl:template match="exploitation-manager">
47 <span style="font-weight: bold">Exploitation Manager: </span>
48 <a href="../people/{@site}/{@file}.html">
49 <xsl:call-template name="person-name">
50 <xsl:with-param name="file" select="concat(@site,'/',@file)"/>
55 <xsl:value-of select="mandate"/>
59 <xsl:template match="work-package-leaders">
61 <span style="font-weight: bold">Work-Package Leaders</span>
66 <xsl:for-each select="document('../xml/work-packages/index.xml')/work-packages/work-package">
68 <a href="../work-packages/{@file}.html">
69 <xsl:value-of select="document(concat('../xml/work-packages/',@file,'.xml'))/*/name"/>
75 <xsl:for-each select="document('../xml/work-packages/index.xml')/work-packages/work-package">
77 <xsl:variable name="leader" select="document(concat('../xml/work-packages/',@file,'.xml'))/*/leader/@file"/>
78 <a href="../people/{$leader}.html">
79 <xsl:call-template name="person-name">
80 <xsl:with-param name="file" select="$leader"/>
87 <xsl:value-of select="mandate"/>
91 <xsl:template match="technical-contributors">
93 <span style="font-weight: bold">Technical Contributors</span>
96 <xsl:value-of select="mandate"/>
100 <xsl:template match="project-coordination-committee">
102 <span style="font-weight: bold">Project Coordination Committee</span>
106 <xsl:text>Chaired by </xsl:text>
107 <xsl:variable name="filename" select="concat(chair/@site,'/',chair/@file)"/>
108 <a href="../people/{$filename}.html">
109 <xsl:call-template name="person-name">
110 <xsl:with-param name="file" select="$filename"/>
115 <xsl:text>Members:</xsl:text>
116 <span style="margin-left: 1cm">
119 <xsl:for-each select="member">
120 <td style="text-align: center"><xsl:value-of select="@site"/></td>
124 <xsl:for-each select="member">
125 <td style="text-align: center">
126 <xsl:variable name="filename" select="concat(@site,'/',@file)"/>
127 <a href="../people/{$filename}.html">
128 <xsl:call-template name="person-name">
129 <xsl:with-param name="file" select="$filename"/>
138 <xsl:value-of select="mandate"/>
142 <xsl:template match="project-exploitation-board">
144 <span style="font-weight: bold">Project Exploitation Board</span>
148 <xsl:text>Chaired by </xsl:text>
149 <xsl:variable name="filename" select="concat(chair/@site,'/',chair/@file)"/>
150 <a href="../people/{$filename}.html">
151 <xsl:call-template name="person-name">
152 <xsl:with-param name="file" select="$filename"/>
157 <xsl:text>Members:</xsl:text>
158 <span style="margin-left: 1cm">
161 <xsl:for-each select="member">
162 <td style="text-align: center"><xsl:value-of select="@site"/></td>
166 <xsl:for-each select="member">
167 <td style="text-align: center">
168 <a href="../people/{$filename}.html">
169 <xsl:call-template name="person-name">
170 <xsl:with-param name="file" select="concat(@site,'/',@file)"/>
179 <xsl:value-of select="mandate"/>
183 <xsl:template match="work-package-teams">
185 <span style="font-weight: bold">Work-Package Teams</span>
188 <xsl:value-of select="mandate"/>