AtW said:I do not believe it is possible to select FIRST X nodes satisfying given criteria (true in our case) and stop matching immediately after first node that fails such criteria - thus excluding possibly further nodes that satisfy that criteria: prove it otherwise please, I would appreciate it a lot and will shut up about XSL for 24 hours (until I hit some other brick wall).
AtW said:threaded - either offer your solution (at least DimPrawn offered one that I actually found myself, though its not ideal due to having to use node-set() which is non-standard extention, leading me to believe its not possible to do that using pure XSL) or feck off.
I am solving real life problems - I don't care if language is called functional or not, if it does the job well then its pretty functional for me, if not, then it disfunctional - something that XSLT is.