Add journal-subpart according to D.
authorDennis Schafroth <dennis@indexdata.com>
Mon, 7 Mar 2011 17:51:10 +0000 (18:51 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 7 Mar 2011 17:51:10 +0000 (18:51 +0100)
etc/dads-pz2.xsl

index 246e399..551d1f6 100644 (file)
@@ -56,8 +56,7 @@
         </xsl:otherwise>
       </xsl:choose>
     </xsl:variable>
-
-
+    
     <pz:record>
       <xsl:for-each select="author/name">
         <pz:metadata type="author">
           <xsl:value-of select="." />
         </pz:metadata>
       </xsl:for-each>
+      
+    <xsl:for-each select="journal"> 
+        <pz:metadata type="journal-subpart">
+            <xsl:text>Vol. </xsl:text><xsl:value-of select="vol" />
+            <xsl:text> no. </xsl:text><xsl:value-of select="issue" />
+            <xsl:text> (</xsl:text><xsl:value-of select="year" /><xsl:text>-</xsl:text><xsl:value-of select="month" /><xsl:text>)</xsl:text>
+            <xsl:text> p. </xsl:text><xsl:value-of select="page" />
+        </pz:metadata>
+    </xsl:for-each>      
 
       <xsl:for-each select="localInfo/systemno"> 
         <pz:metadata type="system-control-nr">