Project

General

Profile

Revision 1673

Added by Jing Tao over 17 years ago

Revised some templates.

View differences:

eml-spatialraster-2.0.0.xsl
67 67
  </xsl:template>
68 68
  
69 69
  <xsl:template name="spatialRastercommon">
70
    <xsl:param name="spacialrasterfirstColStyle"/>
71
    <xsl:param name="spacialrastersubHeaderStyle"/>
70
    <xsl:param name="spatialrasterfirstColStyle"/>
71
    <xsl:param name="spatialrastersubHeaderStyle"/>
72 72
    <xsl:param name="docid"/>
73 73
    <xsl:param name="entityindex"/>
74 74
    <xsl:for-each select="entityName">
......
125 125
      <tr><td colspan="2">
126 126
        <xsl:call-template name="method">
127 127
          <xsl:with-param name="methodfirstColStyle" select="$spatialrasterfirstColStyle"/>
128
          <xsl:with-param name="methodsubHeaderStyle" select="$datatablesubHeaderStyle"/>
128 129
        </xsl:call-template>
129 130
      </td></tr>
130 131
    </xsl:for-each>
......
279 280
        <xsl:with-param name="spatialrasterfirstColStyle" select="$spatialrasterfirstColStyle"/>
280 281
      </xsl:call-template>
281 282
    </xsl:for-each>
283
    <xsl:for-each select="attributeList">
284
      <xsl:call-template name="spatialRasterAttributeList">
285
        <xsl:with-param name="spatialrasterfirstColStyle" select="$spatialrasterfirstColStyle"/>
286
        <xsl:with-param name="spatialrasterHeaderStyle" select="$spatialrasterHeaderStyle"/>  
287
        <xsl:with-param name="docid" select="$docid"/>
288
        <xsl:with-param name="entityindex" select="$entityindex"/>
289
      </xsl:call-template>
290
    </xsl:for-each>
282 291
    <!-- Here to display distribution info-->
283 292
    <xsl:for-each select="physical">
284
       <xsl:call-template name="showdistribution">
293
       <xsl:call-template name="spatialRasterShowDistribution">
285 294
          <xsl:with-param name="docid" select="$docid"/>
286 295
          <xsl:with-param name="entityindex" select="$entityindex"/>
287 296
          <xsl:with-param name="physicalindex" select="position()"/>
......
289 298
          <xsl:with-param name="dissubHeaderStyle" select="$spatialrasterHeaderStyle"/>
290 299
       </xsl:call-template>
291 300
    </xsl:for-each>
292
    <xsl:for-each select="attributeList">
293
      <xsl:call-template name="spatialRasterAttributeList">
294
        <xsl:with-param name="spatialrasterfirstColStyle" select="$spatialrasterfirstColStyle"/>
295
        <xsl:with-param name="spatialrasterHeaderStyle" select="$spatialrasterHeaderStyle"/>  
296
        <xsl:with-param name="docid" select="$docid"/>
297
        <xsl:with-param name="entityindex" select="$entityindex"/>
298
      </xsl:call-template>
299
    </xsl:for-each>
300
    
301 301
  </xsl:template>
302 302
  
303 303
  <!--****************************************************
......
918 918
    </table>
919 919
  </xsl:template>
920 920
 
921
  <xsl:template name="showdistribution">
921
  <xsl:template name="spatialRasterShowDistribution">
922 922
     <xsl:param name="spatialrasterfirstColStyle"/>
923
     <xsl:param name="spatialrasterHeaderStyle"/>
923
     <xsl:param name="spatialrastersubHeaderStyle"/>
924 924
     <xsl:param name="docid"/>
925 925
     <xsl:param name="level">entitylevel</xsl:param>
926 926
     <xsl:param name="entitytype">spatialRaster</xsl:param>
......
946 946
  
947 947
  <xsl:template name="spatialRasterAttributeList">
948 948
    <xsl:param name="spatialrasterfirstColStyle"/>
949
    <xsl:param name="spatialrasterHeaderStyle"/>
949
    <xsl:param name="spatialrastersubHeaderStyle"/>
950 950
    <xsl:param name="docid"/>
951 951
    <xsl:param name="entitytype">spatialRaster</xsl:param>
952 952
    <xsl:param name="entityindex"/>

Also available in: Unified diff