How to use in operation in xpath

1
Does anyone know if it is possible to use in operation like sql command in xpath? SQL = select att1,att2 from table1 where att1 in (1,2,3) Thank you
asked
3 answers
0

The 'in' function is not available in Mendix as far as i know. What you could do is use an or statement for each seperate attribute that you would like to compare to the in statement. For example

[
orderid = 1
or orderid = 2
or orderid = 3
]
answered
0

OQL does have the IN operator but it's not available in xpath. Also see oql operators

answered
0

Thank you all

answered