Project

General

Profile

« Previous | Next » 

Revision 1735

Added by Jing Tao almost 21 years ago

Fixed some bugs in these style sheets.

View differences:

eml-physical-2.0.0.xsl
250 250
        </tr>
251 251
  </xsl:template>
252 252
  
253
  <xsl:template match="numPhysicalLinePerRecord">
253
  <xsl:template match="numPhysicalLinesPerRecord">
254 254
        <xsl:param name="physicalfirstColStyle"/>
255 255
        <tr>
256 256
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record:</td>
......
401 401
      </tr>
402 402
    </xsl:for-each>
403 403
  </xsl:template>
404
  
405 404
  <xsl:template match="formatName">
406
        <xsl:param name="physicalfirstColStyle"/>
405
    <xsl:param name="physicalfirstColStyle"/>
406
    <xsl:if test="normalize-space(.)!=''">
407 407
        <tr>
408 408
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Name:</td>
409 409
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
410 410
        </tr>
411
    </xsl:if>
411 412
  </xsl:template>
412 413
  
413 414
  <xsl:template match="formatVersion">
......
421 422
  <xsl:template match="citation">
422 423
        <xsl:param name="physicalfirstColStyle"/>
423 424
        <tr>
424
        <td class="{$firstColStyle}" width="{$firstColWidth}">Citation:</td>
425
        <td class="{$secondColStyle}">
425
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Citation: </td>
426
        <td width="{$secondColWidth}">
426 427
          <xsl:call-template name="citation">
427
            <xsl:with-param name="citationfirstColStyle" select="physicalfirstColStyle"/>
428
            <xsl:with-param name="citationfirstColStyle" select="$physicalfirstColStyle"/>
429
             <xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
428 430
          </xsl:call-template>
429 431
        </td>
430 432
        </tr>
......
465 467
        <xsl:param name="physicalfirstColStyle"/>
466 468
        <tr>
467 469
        <td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands:</td>
468
        <td class="{$secondColStyle}">
470
        <td width="{$secondColWidth}">
469 471
         <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
470 472
            <tr>
471 473
                <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands:</td>

Also available in: Unified diff