Subject: Re: [xsl] reversing or swapping nested node hierarchy From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 21 Mar 2006 16:31:34 GMT |
> Is it valid to design a stylesheet which depends on the order in which > templates are declared? No, the order makes no difference (except when recovering from an error) It is an error to have two templates that match a mode with the same priority. > For instance, match="*" and match="*[b]" could both apply > to an element containing a <b> element. Both patterns match such an element but only the *[b] template will be invoked as *[b] has a higher default priority than *. You can override the default priority by going priority="123" for any number that you choose. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] reversing or swapping nes, Chris Capon | Thread | Re: [xsl] reversing or swapping nes, Chris Capon |
Re: [xsl] reversing or swapping nes, Chris Capon | Date | Re: [xsl] Conditional test is faili, Gowri Ratakonda |
Month |