XPath - case-insensitive test for text node value


I would really appreciate if someone can tell me how to do something similar in WebMethods Developer:

%/input/someElement% = ‘true’

%/input/someElement% = ‘True’

I want to match the value of text node: “someElement” to all variations of “true” like in Saxon - I could change all this to upper case – using this function fn:upper-case(). Like: http://www.saxonica.com/documentation/functions/intro/fn_upper-case.html

is there any function that I can call in WebMethods Developer ?

Thanks for the help.