Re: State variable test

/ Alex Milowski <alex@milowski.org> was heard to say:
| Shouldn't $p:position and $loop_index be the same?  We say:

In which loop?

| "In contexts where a sequence of documents is being processed, for example,
| in the test expression of a p:matching-documents, this variable returns the
| position of the current document within the sequence. Numbering begins at
| one."
|
| The for-each processes a sequence.

Yeah, maybe I got p:document-position() wrong. I wonder if we can do
without the p:document-index() forms? Maybe users could set an option?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The effects of weakness are
http://nwalsh.com/            | inconceivable, and more prodigious than
                              | those of the most violent
                              | passions.--Cardinal De Retz

Received on Tuesday, 15 May 2007 21:23:16 UTC