|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: logical operators in *test*
Hi Aananth,
At 01:30 PM 10/28/2003, you wrote: how do we use and,or etc with *test="" *statements? Much in the way as one does in other programming languages, or for that matter in natural languages: <xsl:template match="Signature">
<xsl:if test="fname = 'aananth' and lname='solaiyappan'">
<!-- ... do your thing ... -->
</xsl:if>
</xsl:template>...unless I misunderstand the question. The operators involved are "and" and "or". There's also a function "not()", which takes a Boolean as its argument, and turns it upside down. Cheers, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








