Re: [xsl] The output of evaluating an XSLT transform is the same regardless of the order in which output elements are evaluated. Right?

Subject: Re: [xsl] The output of evaluating an XSLT transform is the same regardless of the order in which output elements are evaluated. Right?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 13 Apr 2010 10:12:17 -0700
On Mon, Apr 12, 2010 at 10:37 AM, Costello, Roger L. <costello@xxxxxxxxx>
wrote:
> Hi Folks,
>
> Is this statement true or false:
>
> B XSLT elements that produce output can be
> B evaluated in any order.
>

Not necessarily true. The evaluation of

f(g(x))

requires that g(x) be evaluated, before f()  can be evaluated.

There are datatypes that (by definition) impose a particular ordering
on their processing. Take a list. in order to access the Nth item one
needs to get the tail of the list and then acces its N-1st item. The
Nth item is the head of the N-1st tail in this processing.

Also, a child cannot be born before its parents are born.

Functional programming can only describe and reflect structure.
Whenever this structure is sequential by nature, parallel processing
isn't directly applicable.


Cheers,
Dimitre Novatchev

Current Thread