Project

General

Profile

« Previous | Next » 

Revision 1700

Added by Jing Tao over 21 years ago

Fixed some bugs.

View differences:

lib/style/eml2/eml-literature-2.0.0.xsl
162 162
       </xsl:call-template>
163 163
    </xsl:for-each>
164 164
    
165
    <tr><td colspan="2">
165
    <xsl:if test="access and normalize-space(access)!=''">
166
      <tr><td colspan="2">
166 167
        <xsl:for-each select="access">
167 168
          <xsl:call-template name="access">
168 169
            <xsl:with-param name="accessfirstColStyle" select="$citationfirstColStyle"/>
......
170 171
         </xsl:call-template>
171 172
        </xsl:for-each>
172 173
      </td>
173
   </tr>
174
     </tr>
175
   </xsl:if>
174 176
  </xsl:template>
175 177

  
176 178

  
......
178 180
     <xsl:param name="citationfirstColStyle"/>
179 181
     <xsl:param name="citationsubHeaderStyle"/>
180 182
   
181
        <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>ARTICLE:</xsl:text></td></tr>
183
        <tr><td class="{$citationsubHeaderStyle}" colspan="2"><xsl:text>ARTICLE:</xsl:text></td></tr>
182 184
           <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
183 185
            Journal:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
184 186
            <xsl:value-of select="journal"/></td></tr>
......
226 228
    <xsl:param name="citationsubHeaderStyle"/>
227 229
    <xsl:param name="notshow" />
228 230
       <xsl:if test="$notshow =''">
229
          <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>BOOK:</xsl:text></td></tr>
231
          <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>BOOK:</xsl:text></td></tr>
230 232
        </xsl:if>
231 233
        <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
232 234
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
294 296
   <xsl:template name="citationchapter">
295 297
      <xsl:param name="citationfirstColStyle"/>
296 298
      <xsl:param name="citationsubHeaderStyle"/>
297
       <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>CHAPTER:</xsl:text></td></tr>
299
       <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>CHAPTER:</xsl:text></td></tr>
298 300
        <xsl:if test="chapterNumber and normalize-space(chapterNumber)!=''">
299 301
           <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
300 302
            Chapter Number:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
345 347
   <xsl:template name="citationmanuscript">
346 348
     <xsl:param name="citationfirstColStyle"/>
347 349
     <xsl:param name="citationsubHeaderStyle"/>
348
       <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>MANUSCRIPT:</xsl:text></td></tr>
350
       <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>MANUSCRIPT:</xsl:text></td></tr>
349 351
       <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
350 352
            Institution:
351 353
            </td>
......
374 376
   <xsl:template name="citationreport">
375 377
     <xsl:param name="citationfirstColStyle"/>
376 378
     <xsl:param name="citationsubHeaderStyle"/>
377
     <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>REPORT:</xsl:text></td></tr>
379
     <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>REPORT:</xsl:text></td></tr>
378 380
       <xsl:if test="reportNumber and normalize-space(reportNumber)!=''">
379 381
          <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
380 382
            Report Number:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
412 414
   <xsl:template name="citationthesis">
413 415
     <xsl:param name="citationfirstColStyle"/>
414 416
     <xsl:param name="citationsubHeaderStyle"/>
415
     <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>THESIS:</xsl:text></td></tr>
417
     <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>THESIS:</xsl:text></td></tr>
416 418
        <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
417 419
        Degree:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
418 420
        <xsl:value-of select="degree"/></td></tr>
......
439 441
   <xsl:template name="citationconferenceProceedings">
440 442
     <xsl:param name="citationfirstColStyle"/>
441 443
     <xsl:param name="citationsubHeaderStyle"/>
442
     <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>CONFERENCE PROCEEDINGS:</xsl:text></td></tr>
444
     <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>CONFERENCE PROCEEDINGS:</xsl:text></td></tr>
443 445
      <xsl:if test="conferenceName and normalize-space(conferenceName)!=''">
444 446
         <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
445 447
         Conference Name:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
476 478
  <xsl:template name="citationpersonalCommunication">
477 479
    <xsl:param name="citationfirstColStyle"/>
478 480
    <xsl:param name="citationsubHeaderStyle"/>
479
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>PERSONAL COMMUNICATION:</xsl:text></td></tr>
481
    <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>PERSONAL COMMUNICATION:</xsl:text></td></tr>
480 482
     <xsl:if test="publisher and normalize-space(publisher)!=''">
481 483
          <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
482 484
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
521 523
  <xsl:template name="citationmap">
522 524
    <xsl:param name="citationfirstColStyle"/>
523 525
    <xsl:param name="citationsubHeaderStyle"/>
524
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>MAP:</xsl:text></td></tr>
526
    <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>MAP:</xsl:text></td></tr>
525 527
      <xsl:if test="publisher and normalize-space(publisher)!=''">
526 528
          <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
527 529
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
559 561
  <xsl:template name="citationgeneric">
560 562
    <xsl:param name="citationfirstColStyle"/>
561 563
    <xsl:param name="citationsubHeaderStyle"/>
562
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>Generic Citation:</xsl:text></td></tr>
564
    <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>Generic Citation:</xsl:text></td></tr>
563 565
    <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
564 566
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
565 567
            &#160;
......
654 656
  <xsl:template name="citationaudioVisual">
655 657
    <xsl:param name="citationfirstColStyle"/>
656 658
    <xsl:param name="citationsubHeaderStyle"/>
657
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>Media Citation:</xsl:text></td></tr>
659
    <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>Media Citation:</xsl:text></td></tr>
658 660
      <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
659 661
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
660 662
            &#160;
......
703 705
  <xsl:template name="citationpresentation">
704 706
    <xsl:param name="citationfirstColStyle"/>
705 707
    <xsl:param name="citationsubHeaderStyle"/>
706
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>Presentation:</xsl:text></td></tr>
708
    <tr><td colspan="2" class="{$citationsubHeaderStyle}"><xsl:text>Presentation:</xsl:text></td></tr>
707 709
      <xsl:if test="conferenceName and normalize-space(conferenceName)!=''">
708 710
         <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
709 711
         Conference Name:</td><td width="{$secondColWidth}" class="{$secondColStyle}">

Also available in: Unified diff