Project

General

Profile

« Previous | Next » 

Revision 4829

found more method that should be plural

View differences:

eml-attribute-2.1.0.xsl
569 569
  </tr>
570 570

  
571 571

  
572
   <!-- The eleventh row for method-->
572
   <!-- The eleventh row for methods -->
573 573
  <tr><th class="rowodd">Methods</th>
574 574
   <xsl:for-each select="attribute">
575 575
    <xsl:variable name="index" select="position()"/>
......
587 587
            <xsl:choose>
588 588
               <xsl:when test="methods!=''">
589 589
                 <td colspan="1" align="center" class="{$stripes}">
590
                   <xsl:for-each select="method">
590
                   <xsl:for-each select="methods">
591 591
                     <xsl:call-template name="attributemethods">
592 592
                       <xsl:with-param name="docid" select="$docid"/>
593 593
                       <xsl:with-param name="entitytype" select="$entitytype"/>
......
1178 1178
  </tr>
1179 1179

  
1180 1180

  
1181
   <!-- The eleventh row for method-->
1182
  <tr><th class="rowodd">Method</th>
1181
   <!-- The eleventh row for methods-->
1182
  <tr><th class="rowodd">Methods</th>
1183 1183
   <xsl:for-each select="attribute">
1184 1184
    <xsl:if test="position() = $attributeindex">
1185 1185
    <xsl:variable name="index" select="position()"/>
......
1195 1195
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
1196 1196
          <xsl:for-each select="$references">
1197 1197
            <xsl:choose>
1198
               <xsl:when test="method!=''">
1198
               <xsl:when test="methods!=''">
1199 1199
                 <td colspan="1" align="center" class="{$stripes}">
1200
                   <xsl:for-each select="method">
1201
                     <xsl:call-template name="attributemethod">
1200
                   <xsl:for-each select="methods">
1201
                     <xsl:call-template name="attributemethods">
1202 1202
                       <xsl:with-param name="docid" select="$docid"/>
1203 1203
                       <xsl:with-param name="entitytype" select="$entitytype"/>
1204 1204
                       <xsl:with-param name="entityindex" select="$entityindex"/>
......
1217 1217
        </xsl:when>
1218 1218
        <xsl:otherwise>
1219 1219
           <xsl:choose>
1220
               <xsl:when test="method!=''">
1220
               <xsl:when test="methods!=''">
1221 1221
                 <td colspan="1" align="center" class="{$stripes}">
1222
                   <xsl:for-each select="method">
1223
                     <xsl:call-template name="attributemethod">
1222
                   <xsl:for-each select="methods">
1223
                     <xsl:call-template name="attributemethods">
1224 1224
                       <xsl:with-param name="docid" select="$docid"/>
1225 1225
                       <xsl:with-param name="entitytype" select="$entitytype"/>
1226 1226
                       <xsl:with-param name="entityindex" select="$entityindex"/>

Also available in: Unified diff