|
Subject: [xsl] Use of variables in XSLT From: "Kaarle Kaila" <kaarle.kaila@xxxxxx> Date: Sat, 20 Dec 2003 12:22:33 +0200 |
Why 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] ANN: xmlroff 0.2.4, Tony Graham | Thread | RE: [xsl] Use of variables in XSLT, Michael Kay |
| [xsl] ANN: xmlroff 0.2.4, Tony Graham | Date | Re: [xsl] Re: I believe!, JCS |
| Month |