This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Call Template with variable name


> Why is there a syntax problem with the following:
> <xsl:call-template name="$abc"/>
> i.e. is there a way to call a template whose name is 
> specified with the
> variable 'abc'?

It can't be done in standard XSLT.

Saxon has an extension to allow it.

Mike Kay

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]