First version of the turbo marc xml stylesheet
[pazpar2-moved-to-github.git] / etc / cf.xsl
index 0f878e0..65ad69e 100644 (file)
       in the "cf" git module.
   -->
 
-  <xsl:template match="url">
-    <pz:metadata type="electronic-url">
+  <xsl:template match="date">
+    <pz:metadata type="publication-date">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>
 
-  <xsl:template match="author">
-    <pz:metadata type="author">
+  <xsl:template match="url">
+    <pz:metadata type="electronic-url">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>
@@ -44,8 +44,8 @@
     </pz:metadata>
   </xsl:template>
 
-  <xsl:template match="date">
-    <pz:metadata type="publication-date">
+  <xsl:template match="author">
+    <pz:metadata type="author">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>
     </pz:metadata>
   </xsl:template>
   
-  <xsl:template match="subject">
-    <pz:metadata type="subject">
-      <xsl:value-of select="."/>
-    </pz:metadata>
-  </xsl:template>
-
-  <xsl:template match="thumburl">
-    <pz:metadata type="thumburl">
+  <xsl:template match="publisher">
+    <pz:metadata type="publisher">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>
 
-  <xsl:template match="publisher">
-    <pz:metadata type="publisher">
+  <xsl:template match="subject">
+    <pz:metadata type="subject">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>
   </xsl:template>
 
   <xsl:template match="location">
-    <pz:metadata type="location">
+    <pz:metadata type="locallocation">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>
 
   <xsl:template match="callno">
-    <pz:metadata type="callno">
+    <pz:metadata type="callnumber">
+      <xsl:value-of select="."/>
+    </pz:metadata>
+  </xsl:template>
+
+  <xsl:template match="thumburl">
+    <pz:metadata type="thumburl">
       <xsl:value-of select="."/>
     </pz:metadata>
   </xsl:template>