xsl-list
[Top] [All Lists]

Re: [xsl] something I'd really like in XSLT

2007-01-23 07:15:47
David Carlisle wrote:
Perhaps this: "The import precedence only overrules a certain match if the priorities (default or explicit) are equal".

no, that is backwards: import precedence is considered before priority,
templates of lower import precedence are ignored (even if they have high
priority)

priority is only considered when deciding between two templates with the
same import precedence.

Oh boy. I have always misunderstood this! And implemented accordingly (which is only now that I find why I had ununderstandable bugs). Just tested it, and you are very right.

Thanks, this will save my day (and some of the past ones).

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