xsl-list
[Top] [All Lists]

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

2010-04-13 12:18:30
On Mon, Apr 12, 2010 at 10:37 AM, Costello, Roger L. 
<costello(_at_)mitre(_dot_)org> wrote:
Hi Folks,

Is this statement true or false:

 XSLT elements that produce output can be
 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>