Removed md-electronic from tmarc.xsl -- changed to suffix to 'medium'.
authorSebastian Hammer <quinn@dart.(none)>
Fri, 4 Jun 2010 20:21:24 +0000 (20:21 +0000)
committerSebastian Hammer <quinn@dart.(none)>
Fri, 4 Jun 2010 20:21:24 +0000 (20:21 +0000)
etc/tmarc.xsl

index baf346a..f652de1 100644 (file)
 
       <pz:metadata type="medium">
         <xsl:value-of select="$medium" />
-      </pz:metadata>
-
-      <pz:metadata type="electronic">
-        <xsl:value-of select="$electronic"/>
+       <xsl:if test="string-length($electronic) and $medium != 'electronic'">
+         <xsl:text> (electronic)</xsl:text>
+       </xsl:if>
       </pz:metadata>
 
       <xsl:for-each select="tmarc:d900/tmarc:sa">