Complex named template calling

Subject: Complex named template calling
From: "Stephen Kim" <pooplets@xxxxxxxxxxx>
Date: Wed, 22 Nov 2000 14:30:14 -0500
I'm attempting to write a set of XSLs, one of which controls look/appearance.

For example, there will be template that resembles the following:

<xsl:template name="TABLEDEF">

<xsl:template name="DATADEF">

Now, I want these templates to be called from various places over xml with wide differences.

<xsl:for-each select="AUTHOR">
 <xsl:call-template name="TABLEDEF">
        <xsl:for-each select="BOOK">
           <xsl:call-template name="DATADEF"/>

I know this is non-functional as call-templates cannot handle subelements besides params. Is there a way to simulate this functionality somehow?

Get more from the Web.  FREE MSN Explorer download :

XSL-List info and archive:

Current Thread