W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

Proposal for p:split-sequence

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 26 Apr 2007 16:48:05 +0200
Message-ID: <546c6c1c0704260748n1e0980bn6afa69e3b995d8f4@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:50 GMT