<xsl:variable name="absPath"><xsl:value-of select="$getterURL"/>getciconly?uri=</xsl:variable>
-<xsl:variable name="header"><xsl:value-of select="$processorURL"/>/apply?keys=<xsl:value-of select="$keys"/>&param.keys=<xsl:value-of select="$keys"/>&param.getterURL=<xsl:value-of select="$getterURL"/>&param.processorURL=<xsl:value-of select="$processorURL"/>&xmluri=<xsl:value-of select="$absPath"/></xsl:variable>
+<xsl:variable name="header"><xsl:value-of select="$processorURL"/>/apply?keys=<xsl:value-of select="$keys"/>&param.naturalLanguage=<xsl:value-of select="$naturalLanguage"/>&param.keys=<xsl:value-of select="$keys"/>&param.getterURL=<xsl:value-of select="$getterURL"/>&param.processorURL=<xsl:value-of select="$processorURL"/>&xmluri=<xsl:value-of select="$absPath"/></xsl:variable>
<xsl:include href="html_init.xsl"/>
<xsl:include href="html_set.xsl"/>
<xsl:variable name="showcast" select="0"/>
+<xsl:template name="makeURL">
+ <xsl:param name="url" select="''"/>
+ <xsl:value-of select="concat(string($header),string($url),'&param.CICURI=',string($url))"/>
+</xsl:template>
<!--***********************************************************************-->
<!-- HTML Head and Body -->
<xsl:when test="boolean(@definitionURL)">
<a>
<xsl:attribute name="href">
- <xsl:value-of select="concat(string($header),string(@definitionURL))"/>
+ <xsl:call-template name="makeURL">
+ <xsl:with-param name="url" select="@definitionURL"/>
+ </xsl:call-template>
</xsl:attribute>
<xsl:apply-templates/>
</a>
<xsl:when test="boolean(@definitionURL)">
<a>
<xsl:attribute name="href">
- <xsl:value-of select="concat(string($header),string(@definitionURL))"/>
+ <xsl:call-template name="makeURL">
+ <xsl:with-param name="url" select="@definitionURL"/>
+ </xsl:call-template>
</xsl:attribute>
<xsl:apply-templates/>
</a>