Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ByMaintainer.xsl « status - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90fdb6b4bfc9b25e04925524423802110d2d76ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>

<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:param name="email"/>
<xsl:param name="name"/>

<xsl:template match="/">
  <h2>Maintained by <xsl:value-of select="$name"/> (<xsl:value-of select="$email"/>)</h2>
  <table border="1">
    <tr>
      <td>Class Name</td>
      <td>Last Activity</td>
      <td>Implementation</td>
      <td>Test Suite</td>
      <td>Completion</td>
    </tr>

  <xsl:for-each select='classes/class'>
  
    <xsl:sort select='@name' />
    <xsl:if test="contains(maintainers/*, $email)">
      <tr>
        <td><xsl:value-of select="@name"/></td>
        <td><xsl:value-of select="last-activity"/></td>
        <td><xsl:value-of select="implementation"/></td>
        <td><xsl:value-of select="test-suite"/></td>
        <td><xsl:value-of select="completion"/></td>
      </tr>
    </xsl:if>
  
  </xsl:for-each>
  
  </table>
</xsl:template>

</xsl:stylesheet>