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:
5720f0e
)
Source specific date transformations
author
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Fri, 7 Sep 2012 16:02:40 +0000
(18:02 +0200)
committer
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Fri, 7 Sep 2012 16:02:40 +0000
(18:02 +0200)
etc/tmarc.xsl
patch
|
blob
|
history
diff --git
a/etc/tmarc.xsl
b/etc/tmarc.xsl
index
ce1b5a0
..
c8eb90c
100644
(file)
--- a/
etc/tmarc.xsl
+++ b/
etc/tmarc.xsl
@@
-720,6
+720,16
@@
</pz:metadata>
</xsl:for-each>
+ <xsl:for-each select="tmarc:d903">
+ <xsl:if test="tmarc:sa">
+ <pz:metadata type="publication-date">
+ <xsl:value-of select="substring(tmarc:sa,1,4)"/>
+ </pz:metadata>
+ <pz:metadata type="date">
+ <xsl:value-of select="substring(tmarc:sa,1,4)"/>
+ </pz:metadata>
+ </xsl:if>
+ </xsl:for-each>
<!-- <xsl:if test="$fulltext_b"> <pz:metadata type="fulltext"> <xsl:value-of
select="$fulltext_b"/> </pz:metadata> </xsl:if> -->