Could it be that you are using both Jexl and XPath tags?Yes of course. But it should work, shouldn't it? Because something like this works, correctly:
<jx:forEach var="myItem" items="${myList}">
Item: #{.}
</jx:forEach>
Note: The iteration will be done by using Jexl. The node to print out will be selected by XPath.
So i think it is possible to mix Jexl and XPath.
Regards Stephan
