as i know - "calculated mode name" not exist in XSLT 2.0 spec, but
"calculated template name" exist as Saxon extension
(http://www.saxonica.com/documentation/extensions/instructions/call-template.html)
and in this case you can use named templates as "mode proxy"
.....
<saxon:call-template name="{$tname}"/>
.....
<xsl:template name="bla-bla">
<xsl:apply-templates mode="bla-bla"/>
</xsl:template>
On Mon, Apr 7, 2008 at 2:13 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > wherein string "CIJB" can be anything (CIJB, CEDE or XXX
> > etc). All I am trying to apply different modes depending upon
> > <journalcode> string value and secondly trying suppress the
> > string <journalcode dummy="whatever"/>.
> >
> > Hope it makes clear.
>
> No it doesn't. But never mind, if you won't give the information I asked for
> (sample input and output) then I will simply ignore the question.
>
>
> Michael Kay
> http://www.saxonica.com/
|