xsl-list
[Top] [All Lists]

Re: FOP calling a template dynamically

2002-12-06 12:49:06

      <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



<Prev in Thread] Current Thread [Next in Thread>