Remark : choose 문으로 변수 선언
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<xsl:variable name="data-target"> <xsl:choose> <xsl:when test="$LegCount < 3 and $RuleDestination='HGK' and $RuleDestination='KTM'"> <xsl:value-of select ="$RuleDestination"/> </xsl:when> <xsl:otherwise> DEFAULT </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:value-of select ="$data-target"/> |