This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Using the xsl:if correctly
- To: xsl-list at mulberrytech dot com
- Subject: Re: Using the xsl:if correctly
- From: Steve Tinney <stinney at sas dot upenn dot edu>
- Date: Fri, 11 Feb 2000 13:28:19 -0500
- References: <0D50C43B7C72D111881500805FBB0C6B39C639@den-fps.dci>
- Reply-To: xsl-list at mulberrytech dot com
> like to be able to do something a little more generic. Unfortunately,
> either the xsl:if doesn't support it, or I have been doing it wrong.
> How do I fix this?
I'm not really sure what you mean. Do you mean that you want a more
generalized conditional control mechanism? If so, xsl:choose, xsl:when
and xsl:otherwise are probably what you are looking for. See the XSLT
spec section 9.2, with its example.
Steve
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list