Changeset 954

Show
Ignore:
Timestamp:
08/10/07 05:28:33 (1 year ago)
Author:
thomase
Message:

regularize the html containing element used for the formatted citation, whether it derives from batlas or whether it's generated; also, tweak citation generation to include a trailing dash for continuing journals (if no ending date).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • BibIt/trunk/mods-fix-citations.xsl

    r944 r954  
    3838                </xsl:element> 
    3939                <xsl:call-template name="writecitation"> 
    40                     <xsl:with-param name="thecit" select="xhtml:p"/> 
     40                    <xsl:with-param name="thecit"> 
     41                        <xsl:element name="span" namespace="http://www.w3.org/1999/xhtml"> 
     42                            <xsl:attribute name="class">originalcitation</xsl:attribute> 
     43                            <xsl:copy-of select="xhtml:p/node()" /> 
     44                        </xsl:element> 
     45                    </xsl:with-param> 
    4146                    <xsl:with-param name="themods" select="ancestor::mods:mods"/> 
    4247                </xsl:call-template> 
     
    151156     
    152157    <xsl:template match="mods:originInfo" mode="generate"> 
    153         <xsl:value-of select="mods:publisher"/><xsl:if test="mods:publisher and (mods:place or mods:dateIssued)">, </xsl:if><xsl:value-of select="mods:place/mods:placeTerm"/><xsl:if test="mods:place and mods:dateIssued">: </xsl:if><xsl:value-of select="mods:dateIssued"/> 
     158        <xsl:value-of select="mods:publisher"/><xsl:if test="mods:publisher and (mods:place or mods:dateIssued)">, </xsl:if><xsl:value-of select="mods:place/mods:placeTerm"/><xsl:if test="mods:place and mods:dateIssued">: </xsl:if><xsl:value-of select="mods:dateIssued"/><xsl:if test="mods:dateIssued[@point='start'] and mods:issuance = 'continuing'">-</xsl:if> 
    154159    </xsl:template> 
    155160