This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re:
- To: xsl-list at mulberrytech dot com
- Subject: Re:
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Mon, 05 Jun 2000 14:43:47 -0400
- Organization: Department of Engineering Science, The University of Auckland
- References: <20000605171057.3763.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
alex chang wrote:
>
> Hi,
>
> Can someone explain how I can check for the value of something in an if
> condition?
<xsl:if test="boolean test"><my_output_elements /></xsl:if>
See section 9.1 of the spec for more info and some examples
http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:if
If you need more help with some specific problem, then send
in some input XML, your XSLT (which presumably doesn't do what
you intended), and the output you'd like.
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list