This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]