For comparing an xml string value against multiple strings, I am doing the following.
XPath has a some $x in (1,2,..) satisfies $x>10 expression that could be useful for this. See: http://www.java2s.com/Code/XML/XSLT-stylesheet/everyandsomeoperator.htm
some $x in (1,2,..) satisfies $x>10