Is there is an operator in XPath 1.0 that acts as \"in\" operator in SQL?
select * from tbl_students where id in (1,2,3)
To find out if the 'id' you search is in the sequence of (1, 2, 3, 4) index-of() might be a choice. Pay attention it returns list of indexes.
For a document part like
Select will something like
//*[not(empty(index-of((1, 2, 3, 4), @id)))]