Re: [xsl] call-template from an XML

Subject: Re: [xsl] call-template from an XML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 26 Feb 2004 11:08:26 GMT
 <xsl:call-template name="$template-name">


Yopu can not do this, if you need to do something like that you can go

<xsl:choose>
 <xsl:when test="$template-name='A'"> <xsl:call-template name="A"/></xsl:when>
 <xsl:when test="$template-name='B'"> <xsl:call-template name="B"/></xsl:when>
 <xsl:when test="$template-name='C'"> <xsl:call-template name="C"/></xsl:when>

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread