Re: relative order of attributes

Pardon my previous message, which was sent prematurely.

I just wanted to follow up on my post of Apr 07.

After much discussion of this topic on the XSL List this month, David
Carlisle and I worked out that in the case of xsl:apply-templates and
xsl:for-each, 'the nodes are processed in document order' really means
something more like 'the result tree and/or result tree fragments created
by the templates for these nodes are created such that the spatial order
of the nodes *is as if* the templates had been instantiated one at a time,
for each node in document order'

('spatial' order was David's way of differentiating the order of nodes in
the created result tree from the order in which those nodes were added to
the tree, which is what 'processing' order means to him.)

I don't think this invalidates my original message, the point of which was
to show that while the specs do contain all the right information, they
aren't very easy to follow regarding attribute non-order and how it
interacts with operations that occur in 'document order'.

http://www.mulberrytech.com/xsl/xsl-list/archive/msg11323.html and its
follow-ups are also relevant.

Sorry for the intrusion.

   - Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/    http://www.webb.net/

Received on Monday, 24 April 2000 10:24:48 UTC