<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