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:
36e1df0
)
Adds medium parameter to dc stylesheet
author
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Thu, 21 Oct 2010 19:39:50 +0000
(21:39 +0200)
committer
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Thu, 21 Oct 2010 19:39:50 +0000
(21:39 +0200)
etc/dc.xsl
patch
|
blob
|
history
diff --git
a/etc/dc.xsl
b/etc/dc.xsl
index
f212bac
..
d9ae36d
100644
(file)
--- a/
etc/dc.xsl
+++ b/
etc/dc.xsl
@@
-15,6
+15,8
@@
version="1.0"
encoding="UTF-8"/>
+ <xsl:param name="medium" />
+
<xsl:template match="/*">
<pz:record>
@@
-70,6
+72,10
@@
</pz:metadata>
</xsl:for-each>
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ </pz:metadata>
+
</pz:record>
</xsl:template>