multiple templates with same name

Subject: multiple templates with same name
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Wed, 11 Aug 1999 00:36:31 -0400
I have defined several template with the same name.  Sometime like:
 <xsl:template name="main">
 </xsl:template>

I have two include files, each defining a main template. My top level file
also defines the main template. With XT the one in the main file wins. With
Saxon the first one encountered wins.  This isn't a bug,  the two include
files are also used standalone and need a main template defined.

What is the correct order for resolving the multiple definitions?

Jon Smirl
jonsmirl@xxxxxxxxxxxx



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread