Project

General

Profile

« Previous | Next » 

Revision 4825

updated templates to reflect new spelling of dateTime and methods in attributes.

View differences:

lib/style/skins/sbclter/eml/eml-attribute-2.1.0.xsl
149 149
  
150 150
  
151 151

  
152
  <!-- Third row for attribute defination-->
152
  <!-- Third row for attribute definition-->
153 153
  <tr><th class="rowodd">Definition</th>
154 154
    <xsl:for-each select="attribute">
155 155
      <xsl:variable name="stripes">
......
570 570

  
571 571

  
572 572
   <!-- The eleventh row for method-->
573
  <tr><th class="rowodd">Method</th>
573
  <tr><th class="rowodd">Methods</th>
574 574
   <xsl:for-each select="attribute">
575 575
    <xsl:variable name="index" select="position()"/>
576 576
    <xsl:variable name="stripes">
......
585 585
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
586 586
          <xsl:for-each select="$references">
587 587
            <xsl:choose>
588
               <xsl:when test="method!=''">
588
               <xsl:when test="methods!=''">
589 589
                 <td colspan="1" align="center" class="{$stripes}">
590 590
                   <xsl:for-each select="method">
591
                     <xsl:call-template name="attributemethod">
591
                     <xsl:call-template name="attributemethods">
592 592
                       <xsl:with-param name="docid" select="$docid"/>
593 593
                       <xsl:with-param name="entitytype" select="$entitytype"/>
594 594
                       <xsl:with-param name="entityindex" select="$entityindex"/>
......
607 607
        </xsl:when>
608 608
        <xsl:otherwise>
609 609
           <xsl:choose>
610
               <xsl:when test="method!=''">
610
               <xsl:when test="methods!=''">
611 611
                 <td colspan="1" align="center" class="{$stripes}">
612 612
                   <xsl:for-each select="method">
613
                     <xsl:call-template name="attributemethod">
613
                     <xsl:call-template name="attributemethods">
614 614
                       <xsl:with-param name="docid" select="$docid"/>
615 615
                       <xsl:with-param name="entitytype" select="$entitytype"/>
616 616
                       <xsl:with-param name="entityindex" select="$entityindex"/>
......
1278 1278
         <xsl:with-param name="stripes" select="$stripes"/>
1279 1279
       </xsl:call-template>
1280 1280
    </xsl:for-each>
1281
    <xsl:for-each select="datetime">
1281
    <xsl:for-each select="dateTime">
1282 1282
       <xsl:call-template name="datetime">
1283 1283
          <xsl:with-param name="stripes" select="$stripes"/>
1284 1284
       </xsl:call-template>
......
1509 1509
           <b>Coverage Info</b></a>
1510 1510
 </xsl:template>
1511 1511

  
1512
 <xsl:template name="attributemethod">
1512
 <xsl:template name="attributemethods">
1513 1513
    <xsl:param name="docid"/>
1514 1514
    <xsl:param name="entitytype"/>
1515 1515
    <xsl:param name="entityindex"/>
1516 1516
    <xsl:param name="attributeindex"/>
1517 1517
     <a><xsl:attribute name="href"><xsl:value-of select="$tripleURI"/><xsl:value-of select="$docid"/>&amp;displaymodule=attributemethod&amp;entitytype=<xsl:value-of select="$entitytype"/>&amp;entityindex=<xsl:value-of select="$entityindex"/>&amp;attributeindex=<xsl:value-of select="$attributeindex"/></xsl:attribute>
1518
           <b>Method Info</b></a>
1518
           <b>Methods Info</b></a>
1519 1519
 </xsl:template>
1520 1520

  
1521 1521
</xsl:stylesheet>

Also available in: Unified diff