Subject: xsl:call-template name="$variable" problem
Posted By: chemi Post Date: 10/6/2005 7:03:47 AM
I need to do a call-template dynamic. I want attribute "name" of call-template become variable but I have the following error:

Este nombre no puede contener el carácter '$': -->$<--vista
Error durante la compilación de la hoja de estilos

I hope somebody help me, thanks.

Reply By: mhkay Reply Date: 10/6/2005 7:28:29 AM
You are trying to use a language construct that doesn't exist: the name in call-template must be a fixed name.

If you explain your problem, we might be able to tell you how to solve it using language constructs that do exist.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Go to topic 35460

Return to index page 458
Return to index page 457
Return to index page 456
Return to index page 455
Return to index page 454
Return to index page 453
Return to index page 452
Return to index page 451
Return to index page 450
Return to index page 449