Arhip ([info]arhip) wrote,
@ 2006-02-22 16:24:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:programming

Dynamic variable set in xslt
<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>




(Post a new comment)


[info]kabasek
2006-02-22 03:25 pm UTC (link)
ПРЕВЕД!!!

(Reply to this) (Thread)


[info]arhip
2006-02-22 03:28 pm UTC (link)
сам ПРЕВЕД :)

(Reply to this) (Parent)


[info]hunta_kristo
2006-02-22 07:06 pm UTC (link)
Mda...kak tebja odnako na novoi ,to rabote

(Reply to this) (Thread)


[info]arhip
2006-02-23 07:55 am UTC (link)
eto tak , sebe na pamiat
chto b ne iskat next time :)

(Reply to this) (Parent)


[info]princeska
2006-02-23 09:14 am UTC (link)
ась?? :)

(Reply to this) (Thread)


[info]arhip
2006-02-23 09:15 am UTC (link)
sho as', mne za eto den'gi dayut :)

(Reply to this) (Parent)


[info]pats0n
2006-02-25 01:34 am UTC (link)
Uzai XSLT 2.0 :) Tam mozhno i bez marazmov :)

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…