Use of variables in XSLT2003-12-20 03:22:33Why do I have to use the variables in my XSLT stylesheet in at least three
different ways?
Assuming I have declared my variable as
<xsl:variable name="type" select="one" />
I some where must refer to is as:
1. <xsl:value-of select="$type"/>
somewhere else as
2. {$type}
and somewhere as
3. $type
regards
Kaarle Kaila
--
Kaarle Kaila
email: kaarle dot kaila at iki dot fi
www.iki.fi/kaila
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|
||||||||||||||||