Re: When not to <xsl:include>

Subject: Re: When not to <xsl:include>
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Wed, 2 Jun 1999 11:55:01 +0200
Mike Brown <mbrown@xxxxxxxxxxxxx> wrote:

><xsl:include> and <xsl:import> can only refer to complete stylesheets.
>something like this is fine:
> ...
>But what if I want to re-use the contents of the <xsl:template>?

Then give it a name and invoke it using <xsl:call-template> - that is, make
it a "macro".

Have fun,

    Oren Ben-Kiki.

 XSL-List info and archive:

Current Thread