Re: [xsl] FOP calling a template dynamically

Subject: Re: [xsl] FOP calling a template dynamically
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 6 Dec 2002 19:49:06 GMT
      <xsl:call-template name="../@tplt"   />

you can't do that, the name has to be a literal string.

you could make that an apply-templates instead and have templates that
match="@tplt[.='name']"
instead of (or as well as)
name="name"

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread