[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: multiple or statements in xsl:when
> <xsl:when test="name(.)='void' and @property !='' and @property != > 'container' or > @property != 'container' or > @property != 'assetscontainer' or > @property != 'incomecontainer' or > @property != 'value' or > @property != 'variable' " > </xsl:when> > > Any ideas why my code doesn't work? Because your logic is flawed. if @property != 'value' is false, then @property must equal "value", and therefore @property != 'variable' will be true. So at least one of these terms will be true, therefore the whole condition will be true. Michael Kay
|
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
|