Version 2.0.59
[idzebra-moved-to-github.git] / test / xslt / snippet.xsl
index d1c132a..67edbb3 100644 (file)
@@ -3,7 +3,9 @@
 <!-- Identity transform stylesheet -->
 
 <xsl:param name="snippet" select="''"/>
+<xsl:param name="score" select="''"/>
 <xsl:param name="id" select="''"/>
+<xsl:param name="rank" select="''"/>
 <xsl:output indent="yes"
       method="xml"
       version="1.0"
@@ -12,6 +14,8 @@
  <xsl:template match="/">
    <snippet>
      <id><xsl:value-of select="$id"/></id>
+     <score><xsl:value-of select="$score"/></score>
+     <rank><xsl:value-of select="$rank"/></rank>
      <xsl:copy-of select="$snippet"/>
    </snippet>
  </xsl:template>