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

p:head and p:tail

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 24 May 2007 20:16:53 +0200
Message-ID: <546c6c1c0705241116u1f30d2a1r43d4e53415845017@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

Can we imagine to have negative values for count

In such a case

p:head with count < 0 is equivalent to have all the last |count|
documents of the sequence

p:tail with count < 0 is equivalent to have all but the first |count|
documents of the sequence

I have some use case where I want all but the last and the first
document of the sequence and don't want to go to p:matching-document
AND p:count

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, 24 May 2007 18:16:58 GMT

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