Subject: Re: [xsl] Can apply-templates attribute mode be passed a variable? From: "James Fuller" <james.fuller@xxxxxxxxxx> Date: Mon, 8 Jul 2002 09:56:09 +0100 |
----- Original Message ----- From: <seema_mehta@xxxxxxxxx> > Can apply-templates attribute mode be passed a variable? i.e. is the > following code legal? > > <xsl:for-each select="x"> > <xsl:variable name="mode" select="@attr"/> > <xsl:apply-templates select="self::x" mode="$mode"/> > </xsl:for-each> you could use a named template http://www.dpawson.co.uk/xsl/sect2/N5280.html gl, jim fuller XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can apply-templates attri, Mike Brown | Thread | Re: [xsl] Can apply-templates attri, Joerg Heinicke |
Re: [xsl] Re: WML input problem, ashu t | Date | RE: [xsl] Can apply-templates attri, Michael Kay |
Month |