|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How do I do an If sort of thing..
Hey all,
I am trying to do something probably pretty basic. I pass in a variable (or
a //root/node/value path). I want to test for a specific value. For example:
<xsl:choose>
<xsl:when test="{$menu} == 1">
</xsl:when>
<xsl:when test="{$menu} == 2">
</xsl:when>
</xsl:choose>
Basically, a switch() type of statement. Is this possible..if so, can
someone kindly show me an example of how to do this.
Thanks.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








