Subject: Re: Using the xsl:if correctly
From: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Fri, 11 Feb 2000 13:28:19 -0500
|
> 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
|