I have a xslt stylesheet ready at design time. At runtime, I may want a little different stylesheet based on a runtime parameter. I could write the original stylesheet so that the output is determined by a xsl:variable. But how could I set the variable value at runtime? Is it possible? Any other way to do so?
<xsl:param name="myParam" select="'default value if no parameter is set" />
<xsl:template match="/">
<xsl:value-of select="$myParam" />
</xsl:template>