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

ByNamespace.xsl « status - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1959633e79575795b58cc9a6484c5aee7d4022b8 (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
38
39
<?xml version="1.0"?>

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

<xsl:output method="html" indent="yes"/>

<xsl:param name="ns"/>

<xsl:template match="/">
  <h2>Classes in <xsl:value-of select="$ns"/></h2>
  <table border="1">
    <tr>
      <td>Class Name</td>
      <td>Head Maintainer</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="starts-with(@name, $ns) and not(contains(substring-after(@name, concat($ns, '.')), '.'))">
      <tr>
        <td><xsl:value-of select="@name"/></td>
        <td><a href='mailto:{maintainers/maintainer[1]}'><xsl:value-of select="maintainers/maintainer[1]"/></a></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>