I have combinations of AND for different variables I and I tried the following:
& lt; Xsl: if test = "$ countrycode = '104' and (transaction type! = 'Allowance' or revenue center! = '1100')" & gt; But it does not work whether it is possible to test conditional or do I have to divide it like this:
XPath expression : $ countrycode = '104' and (Lane -Den type! = 'Allowance' or revenue center! = '1100') The syntax is correct . Can not say anything because no XML document is provided
As always, do not recommend that the ! = operator, Not necessary in - It is used when any argument is a node-s et (or sequence or node-set in xpath 2.0) than most people expect Sector so far. ! = better use the function no () : $ countrycode = '104' and (not (transaction type = 'allowance ') Or not (revenue sensor =' 1100 ')) and it can be re-applied for further and equivalent:
$ Countrycode = '104' and no (transaction type = 'allowance' and revenue sensor = '1100')
Comments
Post a Comment