I have a variable that is set to value of an attribute within a node. now i need to do a check within an if-else block and reset the value of this variable. how do i do this in xsl syntax?
this is the varName
<xsl:variable name="SubZone" select="$varSubZone/@code"/>
i now need to test if this variable contains ("BL", 'AC", 'GR") and if so then set SubZone= "112"
otherwise leave as is.
all of this is inside a <when> bracket