Project

General

Profile

« Previous | Next » 

Revision 1696

Added by Jing Tao almost 21 years ago

Make table cellspacing=0 and fixed some bugs.

View differences:

eml-coverage-2.0.0.xsl
37 37
  <!-- This module is for coverage and it is self contained(It is a table 
38 38
       and will handle reference by it self)-->
39 39
  <xsl:template name="coverage">
40
    <table class="tabledefault" width="100%">
40
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
41 41
        <xsl:choose>
42 42
         <xsl:when test="references!=''">
43 43
          <xsl:variable name="ref_id" select="references"/>
......
121 121
           Bounding Coordinates:
122 122
          </td>
123 123
       <td width="{$secondColWidth}">
124
         <table class="tabledefault" width="100%">
124
         <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
125 125
           <xsl:apply-templates select="westBoundingCoordinate"/>
126 126
           <xsl:apply-templates select="eastBoundingCoordinate"/>
127 127
           <xsl:apply-templates select="northBoundingCoordinate"/>
......
295 295
  </xsl:template>
296 296
  
297 297
  <xsl:template name="singleDateType">
298
    <table width="100%">
298
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
299 299
     <xsl:if test="calendarDate">
300 300
      <tr>
301 301
       <td width="100%" colspan="2" class="{$secondColStyle}">
......
378 378
     <tr><td width="{$firstColWidth}" class="{$firstColStyle}">
379 379
        <xsl:text>Taxonomic System:</xsl:text></td>
380 380
        <td width="{$secondColWidth}" class="{$secondColStyle}">
381
            <table width="100%" class="tabledefault">
381
            <table xsl:use-attribute-sets="cellspacing" width="100%" class="tabledefault">
382 382
              <xsl:apply-templates select="./*"/>
383 383
            </table>
384 384
        </td>
......
444 444
  <xsl:template match="vouchers">
445 445
      <tr><td width="{$firstColWidth}" class="{$firstColStyle}">Vouchers:</td>
446 446
        <td width="{$secondColWidth}" class="{$secondColStyle}">
447
        <table width="100%">
447
        <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
448 448
        <xsl:apply-templates select="specimen"/>
449 449
        <xsl:apply-templates select="repository"/>
450 450
        </table>
......
483 483
  <xsl:template match="taxonomicClassification">
484 484
    <tr><td width="{$firstColWidth}" class="{$firstColStyle}">
485 485
        <xsl:text>Classification:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
486
        <table width="100%">
486
        <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
487 487
        <xsl:apply-templates select="./*" mode="nest"/>
488 488
        </table>
489 489
        </td></tr>
......
514 514
          <xsl:text>Classification:</xsl:text>
515 515
        </td>
516 516
        <td width="{$secondColWidth}" class="{$secondColStyle}">
517
           <table class="tabledefault" width="100%">
517
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
518 518
             <xsl:apply-templates select="./*" mode="nest"/>
519 519
           </table>
520 520
        </td>

Also available in: Unified diff