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]
Other format: [Raw text]

RE: IF statement with AND expression


> I realize that this may be a stupid question, but here
> goes... I am a new user to XSL/XML, and I am attempting to
> create an IF statement with a couple of AND expressions in
> it, since I do not wish to use nested IF statements. However,
> I keep getting an error when I try to do this.
> Any help would be greatly appreciated.
>

It's surprising how often people ask this. I don't know why, did you have
trouble finding it in the spec, or were you doing it by trial and error?

<xsl:if test="a=1 and b=2 and c=3">

Mike Kay


 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]