projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge with master
[pazpar2-moved-to-github.git]
/
etc
/
dc.xsl
diff --git
a/etc/dc.xsl
b/etc/dc.xsl
index
c8c3d0d
..
d9ae36d
100644
(file)
--- a/
etc/dc.xsl
+++ b/
etc/dc.xsl
@@
-7,23
+7,19
@@
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
- xmlns:dc="http://purl.org/dc/elements/1.1/">
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/">
<xsl:output indent="yes"
method="xml"
version="1.0"
encoding="UTF-8"/>
<xsl:output indent="yes"
method="xml"
version="1.0"
encoding="UTF-8"/>
+ <xsl:param name="medium" />
+
<xsl:template match="/*">
<pz:record>
<xsl:template match="/*">
<pz:record>
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="dc:title[1]"/>
- <xsl:text> author </xsl:text>
- <xsl:value-of select="dc:creator[1]"/>
- </xsl:attribute>
-
<pz:metadata type="id">
<xsl:value-of select="dc:identifier"/>
</pz:metadata>
<pz:metadata type="id">
<xsl:value-of select="dc:identifier"/>
</pz:metadata>
@@
-70,6
+66,16
@@
</pz:metadata>
</xsl:for-each>
</pz:metadata>
</xsl:for-each>
+ <xsl:for-each select="dcterms:bibliographicCitation">
+ <pz:metadata type="citation">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ </pz:metadata>
+
</pz:record>
</xsl:template>
</pz:record>
</xsl:template>