[xsl] Using "match" and "name" in one template.

Subject: [xsl] Using "match" and "name" in one template.
From: "John Smith" <debrief@xxxxxxxxx>
Date: Thu, 23 Aug 2007 17:29:15 +0100
Hello,

Is it possible to call a template using

<xsl:call-template name="x"></xsl:call-template>

and then in the actual template have

<xsl:template match="a|b" name="x"></xsl:template>

so the template would only be applied once the template is called and
only if the matching criteria is satisfied.


Thanks,
John

Current Thread