XPath Not() function always returning false AND x:forEach context question.

2006-10-06 Thread Sébastien Brodeur
We are migrating from WebSphere 5 (and JSTL 1.0) to WebSphere 6 (JSTL 1.1). We have some incompatibility issues. When I try to use the XPath not() function to evaluate if a select statement will return something, I always get false. Example: ?xml version=1.0 encoding=ISO-8859-1? books

Re: XPath Not() function always returning false AND x:forEach context question.

2006-10-06 Thread Rashmi Rubdi
My environment is JSTL1.1 Tomcat5.5 To simplify things, I tried this: x:out select=not($xml/books/[EMAIL PROTECTED]'1'])/ The above statement returned *true*, I believe it should have returned *false* because the book node has an attribute id with value 1, which evaluates to true, and