Created
October 29, 2012 21:11
-
-
Save spdustin/3976567 to your computer and use it in GitHub Desktop.
XSL Snippet - If/then/else (choose/when/otherwise)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:choose> | |
<xsl:when test="@PercentComplete = '0 %'"> | |
Not started | |
</xsl:when> | |
<xsl:when test="@PercentComplete = '100 %'"> | |
Completed | |
</xsl:when> | |
<xsl:otherwise> | |
In process - Current status is <xsl:value-of select="@status"/> | |
</xsl:otherwise> | |
</xsl:choose> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment