[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] build-in template question


Subject: Re: [xsl] build-in template question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 5 Sep 2008 10:15:46 +0100

> Nope, I tried to address the problem that you gave an example of, that 
> is, we have N matching templates and it is not possible to resolve the 
> conflict without explicit priorities set in the templates. Further, I 
> tried to address that it is only the design that XSLT 1.0 tries to do 
> something even could be viewed as erroneous, whereas XSLT 2.0 attempts 
> to generate error messages instead.

the situation is the same in xslt 1 and 2. In both it is an error, but
the system is allowed to recover by using the last of the templates that
is defined (this is the only place where order of templates in the
stylesheet makes any difference)

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread
Keywords