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

XProc Editors Draft 2007-07-19: Section 4.2 Comments

From: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 23 Jul 2007 12:27:03 +0100
Message-ID: <46A49087.8070000@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

The paragraph after the syntax summary says:

   When a pipeline needs to process a sequence of documents using a step
   that only accepts a single document, the p:for-each construct can be
   used as a wrapper around the step that accepts only a single document.
   The p:for-each will apply that step to each document in the sequence
   in turn.

This makes it sound as if the <p:for-each> can only wrap around a single 
step, rather than a subpipeline.

Section 4.2.1 seems to contradict Section 2.8.1, specifically about the 
context position and size. It would be useful to have a pointer to 
Section 2.8.1 and to the definition of the p:iteration-count() function.

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Monday, 23 July 2007 11:27:14 GMT

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