Subject: Re: [xsl] build-in template question From: Jonas Mellin <jonas.mellin@xxxxxx> Date: Fri, 05 Sep 2008 11:23:36 +0200 |
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)
Thx /Jonas
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. ________________________________________________________________________
-- Carpe Diem! === Jonas Mellin, Assistant Professor in Computer Science School of Humanities and Informatics, Building E-2 University of Skvvde, P.O. Box 408, SE-541 28 Skvvde, Sweden Phone: +46 500 448321, Fax: +46 500 448399 Email: jonas.mellin@xxxxxx, URL: http://www.his.se/melj
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] build-in template questio, David Carlisle | Thread | RE: [xsl] build-in template questio, Michael Kay |
Re: [xsl] build-in template questio, David Carlisle | Date | [xsl] Distinguish between empty str, Arndt Jonasson |
Month |