I'm trying to clean up an attribute value as it comes through the
channel. I can do this as follows -

<do-strip-xpath expression="*[@attr-name='Location']/value[.!='TEST1']"/>

now, what I cant seem to get working is testing two values and allowing
them through, ie. TEST1 and TEST2

I tried -

<do-strip-xpath expression="*[@attr-name='Location']/value[.!='TEST1' or
..!='TEST2']"/>

It doesnt seem to work and I also tried -

<do-strip-xpath expression="*[@attr-name='Location']/value[.!='TEST1'
|'TEST2']"/>

Anyone have any thoughts on how this could be done?