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.comReceived 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