[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] apply two different templates at the same time


Subject: RE: [xsl] apply two different templates at the same time
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 31 Jan 2002 10:32:12 -0000

> Currently, I use two templates for each element - one
> matching just the
> element and one matching the element with the 'mark' attribute...
>
> ...is it possibly to cut down on the duplication of code?
>
Call one of the templates from the other using <xsl:call-template/> (or
break out the common code into a named template that both call).

Mike Kay


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



Current Thread