This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: several questions on XML to HTML processing with XSL
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: several questions on XML to HTML processing with XSL
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 13 Jun 2000 10:32:19 +0100
- Reply-To: xsl-list at mulberrytech dot com
> <xsl:template name="SomeTemplateName">
> <xsl:param name="param1">true</xsl:param>
> <xsl:param name="param2">true</xsl:param>
> <xsl:param name="param3">true</xsl:param>
> <xsl:param name="param4">true</xsl:param>
>
> the variable "ParamName" will be either "param1", "param2" etc. and
> 'whateverValue' could be e.g. 'false'.
>
XSLT is not a reflexive language. You can't use variables to hold the names
of other variables, any more than you can in C or Java. (Well you can, but
you can't dereference them).
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list