Subject: RE: When not to <xsl:include>
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 2 Jun 1999 13:44:19 -0600
|
> >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>
Yes, no sooner did I hit "Send" than did I realize that all I needed to do
was have the external XSL file contain my reusable code within <xsl:template
name="whatever">...</xsl:template> and then refer to that template via
<xsl:call-template name="whatever"/>.
The perils of late-night posting...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|