I remember my lessons correctly, the precedence
is calculated by means of priority,
be careful of terminology: there is "import precedence" and "priority"
both of which affect which templates are used if multiple templates
match, but they are not directly related.
"import precedence" just relates to the stylesheet module that the
template is in, not to the form of the match pattern.
"priority" relates to the explict priority attribute, or if no such
attribute exists, to the default priority for the match pattern.
based on how specific your match is.
Like "*" has less prio then "nodenamehere",
yes
which has less prio then "/nodenamehere"
yes
which has less prio then "/nodenamehere[predicatehere]".
no,
that has the same default priority (0.5) as neither /nodenamehere
nor /nodenamehere[predicatehere] are of the special forms that have
a different default priority,
see
http://www.w3.org/TR/xslt#dt-default-priority
http://www.w3.org/TR/xslt20/#dt-default-priority
for teh exact lists in 1.0 or 2.0
David
--~------------------------------------------------------------------
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>
--~--