XPath does offer a intersect operator but that operator checks only on 2 node sets. I needed to check if a nodeset(status as xs:string) intersected with a predefined sequence of statuses ('RFS', 'DOD', 'WIT', 'OBS').
I ended up writing some generic function:
The way I can call this function now is:
Nice solution. But why didn't you place "object" variable definition inside the first "otherwise" block?
ReplyDeleteGood question... i guess I missed that ;-)
ReplyDelete