Project

General

Profile

« Previous | Next » 

Revision 1634

Added by Jing Tao over 21 years ago

Fixed some bug.

View differences:

lib/style/eml2/eml-coverage-2.0.0.xsl
31 31
-->
32 32

  
33 33
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
34
  <!-- <xsl:import href="eml-literature-2.0.0beta6-@name@.xsl"/>-->
34
  <xsl:import href="eml-literature-2.0.0.xsl"/>
35 35
  <xsl:output method="html" encoding="iso-8859-1"/>
36 36

  
37 37
  <!-- This module is for coverage and it is self contained(It is a table 
......
334 334
  <xsl:template name="taxonomicCovCommon">
335 335
      <tr class="{$subHeaderStyle}"><td class="{$subHeaderStyle}" colspan="2">
336 336
      <xsl:text>Taxonomic Coverage:</xsl:text></td></tr>
337
      <xsl:apply-templates select="taxonsys"/>
337
      <xsl:apply-templates select="taxonomicSystem"/>
338 338
      <xsl:apply-templates select="generalTaxonomicCoverage"/>
339
      <xsl:for-each select="taxoncl">
339
      <xsl:for-each select="taxonomicClassification">
340 340
          <xsl:apply-templates select="."/>
341 341
      </xsl:for-each>
342 342
  </xsl:template>
......
348 348
        <xsl:value-of select="."/></td></tr>
349 349
  </xsl:template>
350 350

  
351
  <!-- output for taxonomic system is not finished -->
351
 
352 352
  <xsl:template match="taxonomicSystem">
353 353
      <tr><td width="{$firstColWidth}" class="{$firstColStyle}">
354 354
        <xsl:text>Taxonomic System:</xsl:text></td>
......
369 369
  </xsl:template>
370 370

  
371 371
  <xsl:template match="classificationSystemCitation">
372
    <!-- Need using citaion module -->
373
  
372
     <xsl:call-template name="citation">
373
        <xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/>
374
        <xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
375
     </xsl:call-template>
374 376
  </xsl:template>
375 377

  
376 378
  <xsl:template match="classificationSystemModifications">
......
383 385
      <tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Reference:</td>
384 386
        <td width="{$secondColWidth}" class="{$secondColStyle}">&#160;
385 387
        </td></tr>
386
        <!-- Need using citaion module-->
388
        <tr><td colspan="2">
389
          <xsl:call-template name="citation">
390
            <xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/>
391
            <xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
392
          </xsl:call-template>
393
        </td></tr>
387 394
  </xsl:template>
388 395

  
389 396
  <xsl:template match="identifierName">
......
423 430
  <xsl:template match="specimen">
424 431
    <tr><td width="{$firstColWidth}" class="{$firstColStyle}">
425 432
        <xsl:text>Specimen:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
426
        <xsl:apply-templates select="./*"/></td></tr>
433
        <xsl:value-of select="."/></td></tr>
427 434
  </xsl:template>
428 435

  
429 436
  <xsl:template match="repository">
......
431 438
        <td width="{$secondColWidth}" class="{$secondColStyle}">
432 439
          &#160;
433 440
        </td></tr>
434
        <tr><td colspan="2">
435
           <xsl:call-template name="party">
441
        <xsl:for-each select="originator">
442
          <tr><td colspan="2">
443
            <xsl:call-template name="party">
436 444
             <xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/>
437
           </xsl:call-template>
438
       </td></tr>
445
            </xsl:call-template>
446
          </td></tr>
447
        </xsl:for-each>
439 448
  </xsl:template>
440 449

  
441 450
  <xsl:template match="taxonomicClassification">

Also available in: Unified diff