Subject: Re: [xsl] Conflicting templates? From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Fri, 17 Dec 2004 14:57:49 +0100 |
would make my life a lot more awkward...
I think in the long run relying on the position of the templates in the
file will make your life harder, almost every otherfeature in xslt is
designed so that the top level constructs in a stylesheet may be placed
in any order, re-arranged by code beautifiers, etc, When something goes
wrong (as in the OP's case) it is much harder to see which template is
being applied.
Of course in the usual case you write templates first without priority but if you get a warning of a template conflict I think it's always good practice to make a concious decision about which one you want to win and then give that one a high priority.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Conflicting templates?, David Carlisle | Thread | Re: [xsl] Conflicting templates?, David Carlisle |
Re: [xsl] Conflicting templates?, David Carlisle | Date | Re: [xsl] Conflicting templates?, Geert Josten |
Month |