Re: Iteration position and size

I would even be more general and say ALL that are not p:for-each or a p:viewport

Mohamed

On Mon, Nov 23, 2009 at 4:39 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> The spec says:
>
>  In the context of a p:for-each or a p:viewport, the
>  p:iteration-position function reports the position of the document
>  being processed in the sequence of documents that will be processed.
>  In the context of other standard XProc compound steps, it returns 1.
>
> But test viewport-005 checks the position inside a p:choose where we
> clearly expect the value not to be reset. For which other steps do we
> expect the value not to be changed? try/catch? group?
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | The bane of my existence is doing
> http://nwalsh.com/            | things that I know the computer could
>                              | do for me.--Dan Connolly
>



-- 
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 Monday, 23 November 2009 15:44:36 UTC