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

On 8/1/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / 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?

YES !!! (a happy one)

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 1 August 2007 17:58:20 UTC