Is there a way to construct an XPath that evaluates whether an element's value is in a predefined list of values? Something akin to this:
/Location/Addr[State='TX or AL or MA']
Which would match nodes whith State elements for Texas, Alabama, or Massachusetts? I know that I can unpack the expression:
/Location/Addr[State='TX] or /Location/Addr[State='AL'], etc...
But this is a bit cumbersome since the xpaths are quite long, as is the list of values. My google-fu isn't turning up much on the issue...