Re: [xsl] Match pattern should get child content but gets sib's content also

Subject: Re: [xsl] Match pattern should get child content but gets sib's content also
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 27 Apr 2002 00:16:36 +0100
> This matches anything that has not already been matched by a previous
> template (i.e., appearing earlier in the stylesheet), but outputs nothing.

The reference to order of templates in the stylesheet is misleading.
The order of templates does not matter, it is an _error_ to have teo
templates of the same priority and the highest priority (and import
precedence) one always wins.

If there are two with the same priority a processor may just die on you, 
only if it does an optional error recovery will the order matter, as
that specifies how to recover from the error if you have clashing
templates.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread