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="/">
14 <xsl:text>Summary of </xsl:text>
15 <xsl:value-of select="minutes/about"/>
19 <h1>Summary of <xsl:value-of select="minutes/about"/></h1>
20 <h2>Participants:</h2>
22 <xsl:apply-templates select="minutes/participant">
23 <xsl:sort select="document(concat('../xml/people/',@site,'/',@file,'.xml'))/*/surname"/>
24 </xsl:apply-templates>
26 <h2>Presentations:</h2>
28 <xsl:apply-templates select="minutes/presentation"/>
32 <span style="font-weight: bold">Note:</span>
33 The following entries reports only the important observations raised during
34 the meeting and the decisions taken.
37 <xsl:apply-templates select="minutes/entry"/>
43 <xsl:template match="entry">
45 <xsl:if test="@author">
46 <xsl:text>[</xsl:text>
47 <a href="../people/{@author}.html">
48 <xsl:call-template name="person-name">
49 <xsl:with-param name="file" select="@author"/>
52 <xsl:text>]</xsl:text>
54 <xsl:apply-templates/>
58 <xsl:template match="participant">
60 <a href="../people/{@site}/{@file}.html">
61 <xsl:call-template name="person-name">
62 <xsl:with-param name="file" select="concat(@site,'/',@file)"/>
65 <xsl:text>  (</xsl:text>
66 <a href="../sites/{@site}.html">
67 <xsl:value-of select="@site"/>
69 <xsl:text>)</xsl:text>
73 <xsl:template match="presentation">
75 <a href="../people/{@site}/{@author}.html">
76 <xsl:call-template name="person-name">
77 <xsl:with-param name="file" select="concat(@site,'/',@author)"/>
80 <xsl:text> (</xsl:text>
81 <a href="../sites/{@site}.html">
82 <xsl:value-of select="@site"/>
84 <xsl:text>): </xsl:text>
85 <xsl:if test="@media = 'slides'">
87 <xsl:when test="slides">
88 <xsl:for-each select="slides">
89 <xsl:text>[</xsl:text>
90 <xsl:variable name="location">
92 <xsl:when test="@format = 'HTML'">
93 <xsl:value-of select="concat('../slides/',@file)"/>
96 <xsl:value-of select="concat('../../misc/',@file)"/>
100 <a href="{$location}">
101 <xsl:text>Get the slides</xsl:text>
102 <xsl:if test="text()">
103 <xsl:text> </xsl:text>
104 <xsl:value-of select="text()"/>
107 <xsl:text>]</xsl:text>
111 <xsl:text>[slides unavailable]</xsl:text>
117 <xsl:copy-of select="description/*|description/text()"/>