This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]