Carrot2 experimenting stylesheet updated for use with cf targets.
[pazpar2-moved-to-github.git] / etc / pp2out-to-carrot2.xsl
index a1d1677..5bdd7a0 100644 (file)
@@ -8,10 +8,10 @@
     <xsl:for-each select="show/hit">
     <document>
       <xsl:attribute name="id">
-        <xsl:value-of select="location/md-id" />
+        <xsl:value-of select="recid" />
       </xsl:attribute>
       <title><xsl:value-of select="md-title" /></title>
-      <url><xsl:value-of select="recid" /></url>
+      <url><xsl:value-of select="location/md-electronic-url" /></url>
       <snippet xml:space="preserve">
         <xsl:for-each select="md-description">
           <xsl:value-of select="." />