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

/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
| The paragraph after the syntax summary says:
|
|   When a pipeline needs to process a sequence of documents using

^ a subpipeline that begins with

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

In 2.8.1, we say "unless otherwise indicated by a particular step".

However, I think we have a problem here.

At one point we were going to use context-position and context-size.
Then we decided that we couldn't and switched to p:iteration-count()
instead of context size.

Don't we also need a p:iteration-size() or something?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Any sufficiently undocumented code is
http://nwalsh.com/            | indistinguishable from magic.

Received on Wednesday, 1 August 2007 17:43:10 UTC