This file is indexed.

/usr/share/gnubg/met/met.xsl is in gnubg-data 1.06.001-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="ISO-8859-1"?>


<!-- 

     met.xsl

     by Joern Thyssen <jthyssen@dk.ibm.com>, 2002

     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.

     $Id: met.xsl,v 1.6 2013/08/21 03:45:23 mdpetch Exp $

 -->     

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

  <xsl:output encoding="ISO-8859-1" 
              indent="yes" 
              method="html" 
              omit-xml-declaration="yes" 
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" 
              doctype-system="http://www.w3.org/TR/html4/transitional.dtd"
   />


  <xsl:template match="/">
    <html>
      <xsl:apply-templates select=".//info" />

      <body>         
 
      <h1>Match equity table: <xsl:value-of select=".//info/name"/></h1>

      <h2>Description</h2>

      <p>
      <xsl:apply-templates select=".//info/description" />
      </p>

      <h2>Pre-Crawford table</h2>
    
      <xsl:apply-templates select=".//pre-crawford-table" />

      <h2>Post-Crawford table</h2>
    
      <xsl:apply-templates select=".//post-crawford-table" />


      </body>
    </html>
  </xsl:template>


  <xsl:template match="//info">
    <head>
       <xsl:apply-templates select="name" />
    </head>
  </xsl:template>
  
  <xsl:template match="//info/name">
    <title>
       Match equity table: <xsl:apply-templates />
    </title>
  </xsl:template>


  <xsl:template match="//info/description">
    <xsl:apply-templates />
  </xsl:template>

  <xsl:template match="parameters">

     <xsl:for-each select="parameter">
     <tr>
       <td><xsl:value-of select="@name" /></td>
       <td><xsl:apply-templates /></td>
     </tr>
     </xsl:for-each>
  </xsl:template>


  <xsl:template name="me">

  <!-- convert to percentages -->

  <xsl:choose>
    <xsl:when test="current() >= 0.1">
      <xsl:value-of select="format-number(100.0 * current(), '#0.0')" />
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="format-number(100.0 * current(), '#0.00')" />
    </xsl:otherwise>
  </xsl:choose>

  </xsl:template>


  <xsl:template name="table">
  <xsl:choose>
     <xsl:when test="@type = 'explicit'">
     <table border="1" cellpadding="2">
        <!-- table header -->

        <tr>
        <th></th>
        <xsl:for-each select="row[position()=1]/me">
        <th><xsl:number value="position()" />-away</th>
        </xsl:for-each>
        </tr>

        <xsl:for-each select="row">
        
           <tr>
              <td align="right"><strong><xsl:number value="position()" />-away</strong></td>
           <xsl:for-each select="me">
           <td align="right"><xsl:call-template name="me" /></td>
           </xsl:for-each>
           </tr>
        </xsl:for-each>

     </table>
     </xsl:when>
  <xsl:otherwise>
     <table border="1" cellpadding="2">
        <tr><th>Parameter</th><th>Value</th></tr>
        <tr><td>Name of generator</td><td><xsl:value-of select="@type" /></td></tr>
        <xsl:apply-templates />
     </table>
  </xsl:otherwise>
  </xsl:choose>
  </xsl:template>

  <xsl:template match="//pre-crawford-table">
  <xsl:call-template name="table" />
  </xsl:template>

  <xsl:template match="//post-crawford-table">
  <xsl:call-template name="table" />
  </xsl:template>

</xsl:stylesheet>