Proposal for p:split-sequence

p:head and p:tail as they stand cannot help doing that efficiently

<p:declare-step type="p:split-sequence">
     <p:input port="source" sequence="yes"/>
     <p:output port="result" sequence="yes"/>
     <p:output port="secondary" sequence="yes"/>
     <p:option name="test" required="yes"/>
</p:declare-step>

output to the !result until $test is false, then it will output the
rest of the sequence to !secondary

Mohamed,

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Thursday, 26 April 2007 14:48:13 UTC