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

p:aggregate proposal

From: Innovimax SARL <innovimax@gmail.com>
Date: Mon, 30 Apr 2007 18:13:52 +0200
Message-ID: <546c6c1c0704300913ra73093cr826d60d1506caf70@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

For-each generate zero or one document for each selection. But we have
no micro operation for helping concatenating documents at the moment

I propose p:aggregate which take an input sequence and output a
sequence. It will take :
* a "group-by" option which takes an XPath value, which is evaluated
on each document of the sequence and if bounded to the same result,
will group the document to make then aggregate
* a "root-document" option which takes a QName

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 Monday, 30 April 2007 16:13:57 GMT

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