]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/on-line/xslt/search.xsl
1. the default encoding for the stylesheets is now UTF8
[helm.git] / daemons / on-line / xslt / search.xsl
index 17fbee744aab401288194feb590536169a344275..8adfc74be1b2f4d6bf71602d626d552db6b889f3 100644 (file)
 <xsl:param name="action" select="''"/>
 <xsl:param name="expression" select="''"/>
 <xsl:param name="advanced" select="no"/>
+<xsl:param name="page" select="1"/>
 <xsl:param name="choices" select="''"/>
 <xsl:param name="interp" select="''"/>
 <xsl:param name="constraints" select="''"/>
 <xsl:param name="searchengineURL" select="''"/>
+<xsl:param name="processorURL" select="''"/>
 <xsl:param name="url" select="''"/>
 
 <xsl:include href="links_library.xsl"/>
  </xsl:choose>
 </xsl:variable>
 
+<xsl:variable name="this">
+ <xsl:call-template name="quote">
+  <xsl:with-param name="s"><xsl:call-template name="makeMoogleResultURL" /></xsl:with-param>
+ </xsl:call-template>
+</xsl:variable>
+
 <xsl:template match="/">
- <xsl:copy-of select="document(concat($searchengineURL,$action,'?expression=',$quoted_expression,'&amp;advanced=',$advanced,'&amp;choices=',$quoted_choices,'&amp;interpretation_choices=',$interp,$param_constraints,'&amp;url=',$quoted_url,'&amp;preprocess=true'))"/> 
+ <xsl:copy-of select="document(concat($searchengineURL,$action,'?expression=',$quoted_expression,'&amp;advanced=',$advanced,'&amp;choices=',$quoted_choices,'&amp;interpretation_choices=',$interp,$param_constraints,'&amp;url=',$quoted_url,'&amp;preprocess=true','&amp;page=',$page,'&amp;this=',$this,'&amp;interp=',$interp))"/> 
 </xsl:template>
 
 </xsl:stylesheet>