Add support for CF data element "id".
authorMike Taylor <mike@indexdata.com>
Tue, 18 Oct 2011 08:26:43 +0000 (09:26 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 18 Oct 2011 08:26:43 +0000 (09:26 +0100)
Gets translated into pz:metadata[@type="id"].
May be needed for bug #4713, persistent identifiers.
(And will be useful even if we don't do that for EBSCO.)

etc/cf.xsl

index 1c3c053..ec4615f 100644 (file)
     </pz:metadata>
   </xsl:template>
 
+  <xsl:template match="id">
+    <pz:metadata type="id">
+      <xsl:value-of select="."/>
+    </pz:metadata>
+  </xsl:template>
+
   <xsl:template match="text()"/>
 
 </xsl:stylesheet>