<xsl:param name="getterURL" select="'http://localhost:8081/'"/>
<xsl:param name="processorURL" select="'http://localhost:8080/helm/servlet/uwobo/'"/>
<xsl:param name="interfaceURL" select="''"/>
+<xsl:param name="thinterfaceURL" select="''"/>
<!-- Keys contains the keys of the stylesheets to be applied following links-->
<xsl:param name="keys" select="'C1,HC2,L'"/>
<!-- Thkeys contains the keys of the stylesheets to be applied at the first
</xsl:call-template>
</xsl:variable>
+<xsl:variable name="escaped-thinterfaceURL">
+ <xsl:call-template name="quote">
+ <xsl:with-param name="s" select="$thinterfaceURL"/>
+ </xsl:call-template>
+</xsl:variable>
+
<xsl:variable name="quotedthkeys">
<xsl:call-template name="quote">
<xsl:with-param name="s" select="'T1,T2,L,E'"/>
</xsl:variable>
<xsl:variable name="header0"><xsl:value-of select="$interfaceURL"/>?url=</xsl:variable>
+<xsl:variable name="thheader0"><xsl:value-of select="$thinterfaceURL"/>?url=</xsl:variable>
<xsl:variable name="header1"><xsl:value-of select="$escaped-processorURL"/>apply?keys=</xsl:variable>
<xsl:variable name="header2">&param.naturalLanguage=<xsl:value-of select="$naturalLanguage"/>&param.annotations=<xsl:value-of select="$annotations"/>&prop.media-type=<xsl:value-of select="$media-type"/>&param.media-type=<xsl:value-of select="$media-type"/>&prop.doctype-public=<xsl:value-of select="$escaped-doctype-public"/>&param.doctype-public=<xsl:value-of select="$escaped-doctype-public"/>&prop.encoding=<xsl:value-of select="$encoding"/>&param.encoding=<xsl:value-of select="$encoding"/>&param.keys=<xsl:value-of select="$quotedkeys"/>&param.getterURL=<xsl:value-of select="$escaped-getterURL"/>&param.processorURL=<xsl:value-of select="$escaped-processorURL"/>&param.interfaceURL=<xsl:value-of select="$escaped-interfaceURL"/>&xmluri=<xsl:value-of select="$absPath"/></xsl:variable>
-<xsl:variable name="header3">&param.thkeys=<xsl:value-of select="$quotedekeys"/></xsl:variable>
+<xsl:variable name="header3">&param.thkeys=<xsl:value-of select="$quotedekeys"/>&param.thinterfaceURL=<xsl:value-of select="$escaped-thinterfaceURL"/></xsl:variable>
<xsl:variable name="quotedheader1">
<xsl:call-template name="quote">
</xsl:variable>
<xsl:variable name="biquotedthfixedheader">
- <xsl:value-of select="$header0"/>
+ <xsl:value-of select="$thheader0"/>
<xsl:value-of select="$quotedheader1"/>
<xsl:value-of select="$quotedquotedthkeys"/>
<xsl:value-of select="$quotedheader2"/>