http://www.devguru.com/technologies/xslt/quickref/xslt_element_template.html
fragment
The optional priority attribute is a real number that ranges from -9.0
to 0.0 to 9.0 that sets the priority of importance for a template.
why is -9 good practice rather that -188 or -123.456, or, as in the
posted code, -0.5 ? what is so special about -9 that you say it _should_
be used?
>
> Saxon will say Recoverable Error if two template match the same node.
sorry, I thought
<xsl:template match="@*|node()">
and
<xsl:template match="*[not(node())]" />
have the same default priority
I just use identity template priority -9 as universal for life
But there was no other templates of the same priority in the supplied code.
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>
--~--