Geert Josten schrieb:
Hello,
>> [named/mode templates]
>> <xsl:template match="*">
>> <xsl:apply-templates select="xalan:evaluate($parameter_xpath)"
>> mode="{$parameter_xpath}" />
>> </...>
>>
>> and then a
>> <xsl:template match="*" mode="{$parameter_xpath}" ...>
>>
>> (untested)
>> I don't know if this works, maybe substitute the
>> mode="{$parameter_xpath}" with mode="somestring".
> No, this gets worse, actually. You cannot use parameters or expressions
> at all in a mode attribute. :-(
>
> And by replacing the expression by a string, you remove the dynamic
> element again.. :-P
Why? I mean the "xpath string" is still evaluated for a different xpath.
Or do you need every xpath to be processed differently?
If then make the difference by looking at your variable (which is static).
Or did i get sth wrong?
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]