<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:helm="http://www.cs.unibo.it/helm"
xmlns:subst="http://www.cs.unibo.it/helm/subst">
<xsl:import href="links_library.xsl"/>
</xsl:call-template>
</xsl:template>
+<!-- used by moogle -->
+
+<xsl:template match="helm:uwobo_form">
+ <form action="{concat($processorURL,'apply?')}" method="get">
+ <xsl:apply-templates select="*"/>
+ </form>
+</xsl:template>
+
+<xsl:template match = "helm:hidden_params">
+ <xsl:call-template name="hidden_params"/>
+</xsl:template>
+
+<xsl:template match = "helm:j_params">
+ <xsl:call-template name="j_params"/>
+</xsl:template>
+
+<xsl:template name="hidden_params">
+ <input type="hidden" name="xmluri" value="{concat($getterURL,'getempty')}"/>
+ <input type="hidden" name="param.profile" value="{$profile}"/>
+ <input type="hidden" name="profile" value="{$profile}"/>
+ <input type="hidden" name="param.keys" value="{$keys}"/>
+ <input type="hidden" name="param.embedkeys" value="{$embedkeys}"/>
+ <input type="hidden" name="param.thkeys" value="{$thkeys}"/>
+ <input type="hidden" name="param.prooftreekeys" value="{$prooftreekeys}"/>
+
+ <input type="hidden" name="param.media-type" value="{$media-type}"/>
+ <input type="hidden" name="param.thmedia-type" select="{$thmedia-type}"/>
+ <input type="hidden" name="prooftreemedia-type" select="{$prooftreemedia-type}"/>
+ <input type="hidden" name="param.doctype-public" select="{$doctype-public}"/>
+ <input type="hidden" name="param.encoding" select="{$encoding}"/>
+ <input type="hidden" name="param.thencoding" select="{$thencoding}"/>
+ <input type="hidden" name="param.prooftreeencoding" select="{$prooftreeencoding}"/>
+</xsl:template>
+
+<xsl:template name="j_params">
+ <input type="hidden" name="j_xmluri" value="{concat($getterURL,'getempty')}"/>
+ <input type="hidden" name="j_processorURL" value="{$processorURL}"/>
+ <input type="hidden" name="j_profile" value="{$profile}"/>
+ <input type="hidden" name="j_keys" value="{$keys}"/>
+ <input type="hidden" name="j_embedkeys" value="{$embedkeys}"/>
+ <input type="hidden" name="j_thkeys" value="{$thkeys}"/>
+ <input type="hidden" name="j_prooftreekeys" value="{$prooftreekeys}"/>
+
+ <input type="hidden" name="j_media_type" value="{$media-type}"/>
+ <input type="hidden" name="j_thmedia_type" select="{$thmedia-type}"/>
+ <input type="hidden" name="j_prooftreemedia_type" select="{$prooftreemedia-type}"/>
+ <input type="hidden" name="j_doctype_public" select="{$doctype-public}"/>
+ <input type="hidden" name="j_encoding" select="{$encoding}"/>
+ <input type="hidden" name="j_thencoding" select="{$thencoding}"/>
+ <input type="hidden" name="j_prooftreeencoding" select="{$prooftreeencoding}"/>
+</xsl:template>
+
<xsl:template match="/|*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:param name="action" select="''"/>
<xsl:param name="expression" select="''"/>
+<xsl:param name="advanced" select="no"/>
<xsl:param name="choices" select="''"/>
<xsl:param name="interp" select="''"/>
<xsl:param name="constraints" select="''"/>
<xsl:param name="searchengineURL" select="''"/>
+<xsl:param name="url" select="''"/>
<xsl:include href="links_library.xsl"/>
</xsl:call-template>
</xsl:variable>
+<xsl:variable name="quoted_url">
+ <xsl:call-template name="quote">
+ <xsl:with-param name="s" select="$url"/>
+ </xsl:call-template>
+</xsl:variable>
+
<xsl:variable name="quoted_choices">
<xsl:call-template name="quote">
<xsl:with-param name="s" select="$choices"/>
</xsl:variable>
<xsl:template match="/">
- <xsl:copy-of select="document(concat($searchengineURL,$action,'?expression=',$quoted_expression,'&choices=',$quoted_choices,'&interpretation_choices=',$interp,$param_constraints))"/>
+ <xsl:copy-of select="document(concat($searchengineURL,$action,'?expression=',$quoted_expression,'&advanced=',$advanced,'&choices=',$quoted_choices,'&interpretation_choices=',$interp,$param_constraints,'&url=',$quoted_url,'&preprocess=true'))"/>
</xsl:template>
</xsl:stylesheet>
xmlns:helm="http://www.cs.unibo.it/helm"
xmlns:html="http://www.w3.org/1999/xhtml">
+<xsl:include href="links_library.xsl" />
+
<!-- add theory's breadcrumb trail -->
<xsl:template name="breadcrumb_trail">
<xsl:param name="path" select="''" />
<html:td style="text-align:right"><xsl:text>
</xsl:text>
<html:span style="font-family:sans-serif">
- [<html:a href="http://mowgli.cs.unibo.it:58085/getpage?url=index.html&preprocess=true&param.keys=d_c%2CC1%2CHC2%2CL&param.thkeys=T1%2CT2%2CL%2CE&param.embedkeys=d_c%2CTC1%2CHC2%2CL&param.doctype-public=-//W3C//DTD%20XHTML%201.0%20Transitional//EN&param.encoding=iso-8859-1&param.thencoding=iso-8859-1&param.media-type=text/html&param.thmedia-type=text/html&param.CICURI=dummy:query_result&param.naturalLanguage=yes&param.annotations=no&param.processorURL=http://mowgli.cs.unibo.it:58080/" target="_top">search</html:a>]
+ <xsl:variable name="searchLinkURL">
+ <xsl:call-template name="makeSearchLinkURL" />
+ </xsl:variable>
+ [<html:a href="{$searchLinkURL}" target="_top">search</html:a>]
</html:span><xsl:text>
</xsl:text>
</html:td><xsl:text>