Single md:author with authors (;-separated) DBC-155 dbc-155
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 Nov 2014 13:09:31 +0000 (14:09 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 Nov 2014 13:09:31 +0000 (14:09 +0100)
etc/xsl/primo-pz2.xsl

index 031cb47..a8bc9c1 100644 (file)
   </xsl:template>
 
   <xsl:template match="prim:display">
+    <xsl:for-each select="prim:creator">
+       <pz:metadata type="author">
+         <xsl:value-of select="." />
+       </pz:metadata>
+    </xsl:for-each>
     <xsl:for-each select="prim:type">
       <xsl:variable name="type" select="."/>
       <pz:metadata type="medium">
 
   <xsl:template match="prim:search">
 
-    <xsl:for-each select="prim:creatorcontrib">
-       <pz:metadata type="author">
-        <xsl:value-of select="." />
-      </pz:metadata>
-    </xsl:for-each>
-
     <xsl:for-each select="prim:description">
       <pz:metadata type="description">
        <xsl:value-of select="." />