| Dynamic variable set in xslt |
[22 Feb 2006|04:24pm] |
<xsl:variable name="AmountPercentXML" select="//portfolioDataXML/@percentAmountDisplay"/> <xsl:variable name="AmountPercent"> <xsl:choose> <xsl:when test="$AmountPercentXML = 'Amount'"> <xsl:text>amount</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>percent</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable>
|
|