dynamic mode

Subject: dynamic mode
From: "xsl list" <xsl_list@xxxxxxxxxxx>
Date: Wed, 27 Sep 2000 13:26:00 EDT
Can I apply templates with dynamic mode? I have multiple templates that handle <tag> and I would like to choose witch template to invoke by supplying mode from the command line. This does not work:
<xsl:param name="m" select="'mode_1'"/>
<xsl:apply-templates select="tag" mode="{$m}"/>
<xsl:template match="tag" mode="mode_1">
...
</xsl:template>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Share information about yourself, create your own public profile at http://profiles.msn.com.


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



Current Thread
  • dynamic mode
    • xsl list - Wed, 27 Sep 2000 13:26:00 EDT <=
      • <Possible follow-ups>
      • Kay Michael - Thu, 28 Sep 2000 13:14:27 +0100