xsl-list
[Top] [All Lists]

Re: [xsl] Saxon node matching order

2008-11-28 10:08:28
2008/11/28 Florent Georges <lists(_at_)fgeorges(_dot_)org>:
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/

--~------------------------------------------------------------------
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>