Hi,

On 01/-10/-28163 08:59 PM, Red Light wrote:
> and then i call the tempalte dynamicly:
>
> <xsl:call-template
> name="{$var1}" saxon:allow-avt="yes" ></xsl:call-template>

depending on your Saxon version it should be:
<saxon:call-template match="{$tname}"/>
This new instruction replaces "allow-avt".
http://www.saxonica.com/documentation/extensions/instructions/call-template.html

Another way to do this would be (without the need of saxon PE at all)
something like this:
        <xsl:variable name="helper" as="element()">
          <xsl:element name="MYNEWDYNAMIC VALUE"> <-- can use avt
            <xsl:copy-of select="//whatever"/>
          </xsl:element>
        </xsl:variable>
        <xsl:apply-templates select="$helper"/>


I hope this helps.

Cheers, Florian


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to