On Wed, Feb 14, 2001 at 07:41:21PM +0100, Honza Pazdziora wrote:
> 
>       <xsl:template match="/out">
>               <xsl:variable name="what">template_to_use</xsl:variable>
>               <xsl:call-template name="{$what}"/>

Oops, this should have read

                <xsl:call-template name="$what"/>

>       </xsl:template>
> 
> which I thought would do the same as
> 
>       <xsl:template match="/out">
>               <xsl:call-template name="template_to_use"/>
>       </xsl:template>
> 
> Alas, I get
> 
> Error: msgtype:error :: code:229 :: module:Sablotron :: URI:arg:/template :: line:8 
>:: node:element '<xsl:call-template>' :: msg:called nonexistent rule

The result is the same, however.

-- 
------------------------------------------------------------------------
 Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/
 .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...
Petition for a Software Patent Free Europe http://petition.eurolinux.org
------------------------------------------------------------------------

Reply via email to