Ages ago, before we adopted p:iteration-position() and p:iteration-size(), we thought that we'd overload the standard position() and last() functions for that purpose. In that world, it was possible to imagine that you could get "head" and "tail" from split-sequence: <p:split-sequence name="head" test="position() = 1"/> and <p:split-sequence name="tail" test="position()=last()"/> That's not true anymore. And you can't use iteration position and size here. So there's no efficient way to get the head or tail of a sequence. Bleh. I fear we should fix that. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | It is a paradoxical but profoundly true http://nwalsh.com/ | and important principle of life that | the most likely way to reach a goal is | to be aiming not at that goal itself | but at some more ambitious goal beyond | it.--Arnold ToynbeeReceived on Thursday, 16 October 2008 20:58:59 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 October 2008 20:59:00 GMT