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

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 UTC