Add match of score
[pazpar2-moved-to-github.git] / etc / solr-pz2.xsl
index e966711..bed0c9c 100644 (file)
     </pz:record>
   </xsl:template>
 
+  <xsl:template match="float[@name]">
+    <pz:metadata>
+       <xsl:attribute  name="type">
+         <xsl:value-of select="@name"/>
+       </xsl:attribute>
+       <xsl:value-of select="."/>
+    </pz:metadata>
+  </xsl:template>
+
   <xsl:template match="str[@name]">
     <pz:metadata>
        <xsl:attribute  name="type">