Project

General

Profile

« Previous | Next » 

Revision 1636

Added by Jing Tao over 21 years ago

Change the import modules.

View differences:

lib/style/eml2/eml-literature-2.0.0.xsl
31 31
-->
32 32
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
33 33

  
34
    <xsl:import href="eml-resource-2.0.0.xsl"/>
35
    
36

  
34
    <!--<xsl:import href="eml-resource-2.0.0.xsl"/>-->
37 35
    <xsl:output method="html" encoding="iso-8859-1"/>
38 36
    
39 37
    <xsl:template name="citation">
......
67 65
    <xsl:call-template name="resource">
68 66
      <xsl:with-param name="resfirstColStyle" select="$citationfirstColStyle"/>
69 67
      <xsl:with-param name="ressubHeaderStyle" select="$citationsubHeaderStyle"/>
70
      <xsl:with-param name="creator" select="Author(s):"/>
68
      <xsl:with-param name="creator">Author(s):</xsl:with-param>
71 69
    </xsl:call-template>
72 70
    
73 71
    <xsl:for-each select="article">
......
264 262
        </xsl:if>
265 263
        
266 264
        <xsl:if test="totalPages and normalize-space(totalPages)!=''">
267
           <tr><td width="{$firstColWidth}" class="{$citaionfirstColStyle}">
265
           <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
268 266
            Total Pages:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
269 267
            <xsl:value-of select="totalPages"/></td></tr>
270 268
        </xsl:if>
......
361 359
       <xsl:for-each select="institution">
362 360
        <tr><td colspan="2">
363 361
              <xsl:call-template name="party">
364
                <xsl:with-para name="partyfirstColStyle" select="$citationfirstColStyle"/>
362
                <xsl:with-param name="partyfirstColStyle" select="$citationfirstColStyle"/>
365 363
              </xsl:call-template>
366 364
           </td>
367 365
        </tr>
......
578 576
  <xsl:template name="citationgeneric">
579 577
    <xsl:param name="citationfirstColStyle"/>
580 578
    <xsl:param name="citationsubHeaderStyle"/>
581
    <tr class="{$ciationsubHeaderStyle}"><td colspan="2"><xsl:text>Generic Citation:</xsl:text></td></tr>
579
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>Generic Citation:</xsl:text></td></tr>
582 580
    <xsl:for-each select="generic">
583 581
      <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
584 582
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
617 615
      </xsl:if>
618 616
        
619 617
      <xsl:if test="totalPages and normalize-space(totalPages)!=''">
620
           <tr><td width="{$firstColWidth}" class="{$citaionfirstColStyle}">
618
           <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
621 619
            Total Pages:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
622 620
            <xsl:value-of select="totalPages"/></td></tr>
623 621
      </xsl:if>
......
675 673
  <xsl:template name="citationaudioVisual">
676 674
    <xsl:param name="citationfirstColStyle"/>
677 675
    <xsl:param name="citationsubHeaderStyle"/>
678
    <tr class="{$ciationsubHeaderStyle}"><td colspan="2"><xsl:text>Media Citation:</xsl:text></td></tr>
676
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>Media Citation:</xsl:text></td></tr>
679 677
    <xsl:for-each select="audioVisual">
680 678
       <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">
681 679
            Publisher:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
......
726 724
  <xsl:template name="citationpresentation">
727 725
    <xsl:param name="citationfirstColStyle"/>
728 726
    <xsl:param name="citationsubHeaderStyle"/>
729
    <tr class="{$ciationsubHeaderStyle}"><td colspan="2"><xsl:text>Presentation:</xsl:text></td></tr>
727
    <tr class="{$citationsubHeaderStyle}"><td colspan="2"><xsl:text>Presentation:</xsl:text></td></tr>
730 728
    <xsl:for-each select="presentation">
731 729
       <xsl:if test="conferenceName and normalize-space(conferenceName)!=''">
732 730
         <tr><td width="{$firstColWidth}" class="{$citationfirstColStyle}">

Also available in: Unified diff