Re: [xsl] Saxon node matching order

Subject: Re: [xsl] Saxon node matching order
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 28 Nov 2008 15:08:01 +0000
2008/11/28 Florent Georges <lists@xxxxxxxxxxxx>:
> Andrew Welch wrote:
>
>>        <xsl:apply-templates select="y|z"/>
>>        <xsl:apply-templates/>
>
>> In the former you are controlling the order of processing by
>> selecting the nodes to process, in the latter the input controls
>> the order because you process the nodes in document order.
>
>  Nop, in both cases they are in document order.  This is the pipe
> operator, not comma :-)

Very good point...  (good example too for demonstrating what happens
with the pipe)

The OP must have got the actual output wrong, or the processor used is wrong....




-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread