H
Hoi Wong
I was trying to conditionally define a bunch of global variable but turns
out that I'm stuck with FAQ#27 in this page:
http://www.dpawson.co.uk/xsl/sect2/N8090.html
What it says is that I have to select the value inside variable definition,
instead of assigning different values to a variable depending on the
conditions.
However, I have 40 variables that needs to be defined base on 3 logical
cases (<xsl:choose>). Doing so will make my XSLT scripts unreadable and
there's a lot of typing. Is there any other way round?
Thanks.
Cheers,
Hoi
out that I'm stuck with FAQ#27 in this page:
http://www.dpawson.co.uk/xsl/sect2/N8090.html
What it says is that I have to select the value inside variable definition,
instead of assigning different values to a variable depending on the
conditions.
However, I have 40 variables that needs to be defined base on 3 logical
cases (<xsl:choose>). Doing so will make my XSLT scripts unreadable and
there's a lot of typing. Is there any other way round?
Thanks.
Cheers,
Hoi