xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: Variable Template Name
Date Mon, 05 May 2003 20:21:26 GMT
Elmar.Hurni@agi.ch wrote:
> Problem:
> 	
> 	<xsl:variable name="templateName">objectives</xsl:variable>
> 
> 	<xsl:call-template name="$templateName"/>

You can't do this, the value of the name attribute must be a
NC name. You can achieve the effect of dynamic dispatching
by using proper a xsl:apply-templates.

This kind of questions is best asked on the XSL list
   http://www.mulberrytech.com/xsl/xsl-list/
This list is dedicated to XSLT and XSLFO in general, rahter
than on using FOP. THere's also a FAQ reachable from the
URL above.

Last note: When learning a new technology it is best to
take at least an introductionary class or read a good
book (see FOP ressources page) rather than resorting to
wild ass guessing. A few days spent for proper education
are easily covered by much higher productivity later.

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message