projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79b268b
)
Add MARC field 876$f to tmarc.xsl, named "loan-period", #4411
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 8 Jul 2011 16:11:49 +0000
(18:11 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 8 Jul 2011 16:11:49 +0000
(18:11 +0200)
etc/tmarc.xsl
patch
|
blob
|
history
diff --git
a/etc/tmarc.xsl
b/etc/tmarc.xsl
index
822e65d
..
10f10b2
100644
(file)
--- a/
etc/tmarc.xsl
+++ b/
etc/tmarc.xsl
@@
-685,6
+685,14
@@
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
+ <xsl:for-each select="tmarc:d876">
+ <xsl:if test="tmarc:sf">
+ <pz:metadata type="loan-period">
+ <xsl:value-of select="tmarc:sf" />
+ </pz:metadata>
+ </xsl:if>
+ </xsl:for-each>
+
<pz:metadata type="medium">
<xsl:value-of select="$vmedium" />
<xsl:if test="string-length($electronic) and $vmedium != 'electronic'">
<pz:metadata type="medium">
<xsl:value-of select="$vmedium" />
<xsl:if test="string-length($electronic) and $vmedium != 'electronic'">