ids for url recipe
authorDennis Schafroth <dennis@indexdata.com>
Wed, 6 Apr 2011 08:07:36 +0000 (10:07 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 6 Apr 2011 08:07:36 +0000 (10:07 +0200)
etc/dads-pz2.xsl

index 553ab20..6f151f9 100644 (file)
         </pz:metadata>
       </xsl:for-each>
 
+      <!-- IDs for url recipe -->
+      <xsl:for-each select="recordID/DOI"> 
+       <pz:metadata type="doi"><xsl:value-of select="."/></pz:metadata>
+      </xsl:for-each>
+      <xsl:for-each select="recordID/artId"> 
+       <pz:metadata type="artid"><xsl:value-of select="."/></pz:metadata>
+      </xsl:for-each>
+      <xsl:for-each select="recordID/accessNr"> 
+       <pz:metadata type="accessnr"><xsl:value-of select="."/></pz:metadata>
+      </xsl:for-each>
+
       <xsl:for-each select="author/name">
         <pz:metadata type="author">
           <xsl:value-of select="." />