Fix broken xml entity.
[idzebra-moved-to-github.git] / test / xslt / snippet.xsl
index 6d027ea..67edbb3 100644 (file)
@@ -3,6 +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"
@@ -10,6 +13,9 @@
 
  <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>