In my template I need to display a lot of optional collections depending of data provided. With jxls1 I was able to add a jsxl:if before the collection in order to ignore the collection. This is no longer working with jxls2 which just doesn't allow me to test if an entry is present in the context (no way to do jx:if condition="!empty(myVar)", myVar has to be in the Context...
But in fact, it would be so much more simple to consider that a xls:each() on a missing collection is like an each on an empty collection.
Could you change this behaviour (or provide at least a way to test is an item is available or not in the Context to evaluate it with an jx:if that could be put before the ach) ?