- From: Norman Walsh <ndw@nwalsh.com>
- Date: Thu, 16 Oct 2008 16:58:12 -0400
- To: public-xml-processing-model-comments@w3.org
- Message-ID: <m2ljwontp7.fsf@nwalsh.com>
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 Toynbee
Received on Thursday, 16 October 2008 20:58:59 UTC