xsl-list
[Top] [All Lists]

Re: [xsl] build-in template question

2008-09-05 05:16:10


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. 
________________________________________________________________________

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