This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:if question
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sun, 9 Dec 2001 23:56:09 -0000
- Subject: RE: [xsl] xsl:if question
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Can xsl:if's be nested?
Yes they can.
> I checked the XSLT programmer's reference and it doesn't say
> you can or can't.
>
In general everything is permitted unless otherwise specified...
Why didn't you just try it? (I know I often discourage guessing the spec,
but it would seem a reasonable approach here: is there any modern language
that DOES restrict nesting of conditional expressions?).
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list