Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] multiple or statements in xsl:when [Thread Next] RE: [xsl] multiple or statements in xsl:whenTo: Date: 4/2/2004 8:29:00 AM > <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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
