Project

General

Profile

« Previous | Next » 

Revision 1732

Added by Jing Tao over 21 years ago

Fixed some bugs in these style sheets.

View differences:

lib/style/eml2/eml-storedprocedure-2.0.0.xsl
87 87
       </xsl:call-template>
88 88
    </xsl:for-each>
89 89
    <xsl:for-each select="additionalInfo">
90
       <xsl:call-template name="entityDescription">
90
       <xsl:call-template name="entityadditionalInfo">
91 91
          <xsl:with-param name="entityfirstColStyle" select="$storedprocedurefirstColStyle"/>
92 92
       </xsl:call-template>
93 93
    </xsl:for-each>
lib/style/eml2/eml-view-2.0.0.xsl
96 96
       </xsl:call-template>
97 97
    </xsl:for-each>
98 98
    <xsl:for-each select="additionalInfo">
99
       <xsl:call-template name="entityDescription">
99
       <xsl:call-template name="entityadditionalInfo">
100 100
          <xsl:with-param name="entityfirstColStyle" select="$viewfirstColStyle"/>
101 101
       </xsl:call-template>
102 102
    </xsl:for-each>
lib/style/eml2/eml-physical-2.0.0.xsl
137 137
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
138 138
        Size:</td>
139 139
        <td class="{$secondColStyle}" width="{$secondColWidth}">
140
        <xsl:value-of select="."/></td>
140
        <xsl:value-of select="."/><xsl:text> </xsl:text><xsl:value-of select="./@unit"/></td>
141 141
      </tr>
142 142
    </xsl:for-each>
143 143
  </xsl:template>
......
149 149
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
150 150
        Authentication:</td>
151 151
        <td class="{$secondColStyle}" width="{$secondColWidth}">
152
        <xsl:value-of select="."/></td>
152
          <xsl:value-of select="."/><xsl:text> </xsl:text>
153
          <xsl:if test="./@method">
154
            Caculated By<xsl:text> </xsl:text><xsl:value-of select="./@method"/>
155
          </xsl:if>
156
        </td>
153 157
      </tr>
154 158
    </xsl:for-each>
155 159
  </xsl:template>
......
333 337
  <xsl:template match="quoteCharacter">
334 338
        <xsl:param name="physicalfirstColStyle"/>
335 339
        <tr>
336
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Quote Character:</td>
340
        <td class="{$firstColStyle}" width="{$firstColWidth}">Quote Character:</td>
337 341
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
338 342
        </tr>
339 343
  </xsl:template>
lib/style/eml2/eml-spatialraster-2.0.0.xsl
87 87
       </xsl:call-template>
88 88
    </xsl:for-each>
89 89
    <xsl:for-each select="additionalInfo">
90
       <xsl:call-template name="entityDescription">
90
       <xsl:call-template name="entityadditionalInfo">
91 91
          <xsl:with-param name="entityfirstColStyle" select="$spatialrasterfirstColStyle"/>
92 92
       </xsl:call-template>
93 93
    </xsl:for-each>
......
338 338
    </xsl:for-each>
339 339
    <xsl:for-each select="horizCoordSysDef/geogCoordSys">
340 340
       <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
341
            Definition of <xsl:value-of select="../@name"/> (Geographic Coordinate System):
341
            Definition of <xsl:text> </xsl:text><xsl:value-of select="./@name"/> <xsl:text> </xsl:text> (Geographic Coordinate System):
342 342
            </td>
343 343
            <td width="{$secondColWidth}" class="{$secondColStyle}">
344 344
              <xsl:call-template name="geogCoordSysType">
......
350 350
    <xsl:for-each select="horizCoordSysDef/projCoordSys">
351 351
      <xsl:for-each select="geogCoordSys">
352 352
       <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
353
            Definition of<xsl:value-of select="../@name"/> Geographic Coordinate System:
353
            Definition of<xsl:text> </xsl:text><xsl:value-of select="./@name"/><xsl:text> </xsl:text>(Geographic Coordinate System):
354 354
            </td>
355 355
            <td width="{$secondColWidth}">
356 356
              <xsl:call-template name="geogCoordSysType">
......
361 361
     </xsl:for-each>
362 362
     <xsl:for-each select="projection">
363 363
       <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
364
            Projection:
364
            Projection in Geo Coord. System:
365 365
            </td>
366 366
            <td width="{$secondColWidth}">
367 367
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
lib/style/eml2/eml-otherentity-2.0.0.xsl
96 96
       </xsl:call-template>
97 97
    </xsl:for-each>
98 98
    <xsl:for-each select="additionalInfo">
99
       <xsl:call-template name="entityDescription">
99
       <xsl:call-template name="entityadditionalInfo">
100 100
          <xsl:with-param name="entityfirstColStyle" select="$otherentityfirstColStyle"/>
101 101
       </xsl:call-template>
102 102
    </xsl:for-each>
lib/style/eml2/eml-spatialvector-2.0.0.xsl
87 87
       </xsl:call-template>
88 88
    </xsl:for-each>
89 89
    <xsl:for-each select="additionalInfo">
90
       <xsl:call-template name="entityDescription">
90
       <xsl:call-template name="entityadditionalInfo">
91 91
          <xsl:with-param name="entityfirstColStyle" select="$spatialvectorfirstColStyle"/>
92 92
       </xsl:call-template>
93 93
    </xsl:for-each>
lib/style/eml2/eml-datatable-2.0.0.xsl
87 87
       </xsl:call-template>
88 88
    </xsl:for-each>
89 89
    <xsl:for-each select="additionalInfo">
90
       <xsl:call-template name="entityDescription">
90
       <xsl:call-template name="entityadditionalInfo">
91 91
          <xsl:with-param name="entityfirstColStyle" select="$datatablefirstColStyle"/>
92 92
       </xsl:call-template>
93 93
    </xsl:for-each>
lib/style/eml2/eml-coverage-2.0.0.xsl
409 409
  
410 410
  <xsl:template match="identificationReference">
411 411
      <tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Reference:</td>
412
        <td width="{$secondColWidth}" class="{$secondColStyle}">&#160;
413
        </td></tr>
414
        <tr><td colspan="2">
415
          <xsl:call-template name="citation">
416
            <xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/>
417
            <xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
418
          </xsl:call-template>
419
        </td></tr>
412
          <td width="{$secondColWidth}">
413
             <xsl:call-template name="citation">
414
                <xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/>
415
                <xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
416
             </xsl:call-template>
417
          </td>
418
     </tr>
420 419
  </xsl:template>
421 420

  
422 421
  <xsl:template match="identifierName">

Also available in: Unified diff