Re: For-each question

Jeni Tennison wrote:

> 
> It seems tedious to me to have to (re)declare the schema and stylesheet 
> pipeline inputs as inputs for the for-each. The more inputs and 
> parameters we have, the more tedious it gets.

Personally, I find it easier to see what the output of the for-each is
without having to go hunt for it.

> 
>>> 3. It's unlike iteration in other languages (you don't have to define 
>>> all the variables used within a for loop in, say, Java)
>>
>> Unlike iteration in other languages, that input must be replayed for
>> each iteration.
> 
> I don't understand what you mean by 'replayed'? You mean that behind the 
> scenes, the processor has to make copies of the other inputs? Why should 
> the user care about what the processor has to do behind the scenes?

Because users are concerned about the efficiency of processing and so
they'll need to know what the expected cost is with a certain operation.

--Alex Milowski

Received on Monday, 31 July 2006 15:46:38 UTC