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">
121 <a href="../sites/{@site}.html">
122 <xsl:value-of select="@site"/>
128 <xsl:for-each select="member">
129 <td style="text-align: center">
130 <xsl:variable name="filename" select="concat(@site,'/',@file)"/>
131 <a href="../people/{$filename}.html">
132 <xsl:call-template name="person-name">
133 <xsl:with-param name="file" select="$filename"/>
142 <xsl:value-of select="mandate"/>
146 <xsl:template match="project-exploitation-board">
148 <span style="font-weight: bold">Project Exploitation Board</span>
152 <xsl:text>Chaired by </xsl:text>
153 <xsl:variable name="filename" select="concat(chair/@site,'/',chair/@file)"/>
154 <a href="../people/{$filename}.html">
155 <xsl:call-template name="person-name">
156 <xsl:with-param name="file" select="$filename"/>
161 <xsl:text>Members:</xsl:text>
162 <span style="margin-left: 1cm">
165 <xsl:for-each select="member">
166 <td style="text-align: center">
167 <a href="../sites/{@site}.html">
168 <xsl:value-of select="@site"/>
174 <xsl:for-each select="member">
175 <td style="text-align: center">
176 <xsl:variable name="filename" select="concat(@site,'/',@file)"/>
177 <a href="../people/{$filename}.html">
178 <xsl:call-template name="person-name">
179 <xsl:with-param name="file" select="$filename"/>
188 <xsl:value-of select="mandate"/>
192 <xsl:template match="work-package-teams">
194 <span style="font-weight: bold">Work-Package Teams</span>
197 <xsl:value-of select="mandate"/>