> Okay, but all of the templates were imported. The template it eventually selected to execute > was also an imported template. Why did it select imported template B with a lower priority > versus imported template C? The one it ultimately selected was the last template imported; > I moved them around and it always selected the referenced by the last xsl:import.
That's how xsl:import works: http://www.w3.org/TR/xslt#import "For example, suppose stylesheet A imports stylesheets B and C in that order; stylesheet B imports stylesheet D; stylesheet C imports stylesheet E. Then the order of import precedence (lowest first) is D, B, E, C, A." Prority is considered after import precedence: http://www.w3.org/TR/xslt#conflict "It is possible for a source node to match more than one template rule. The template rule to be used is determined as follows: 1. First, all matching template rules that have lower import precedence than the matching template rule or rules with the highest import precedence are eliminated from consideration." Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
