xsl-list
[Top] [All Lists]

Re: [xsl] Suppress and test

2008-04-07 03:47:09
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(_at_)saxonica(_dot_)com> 
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/




--~------------------------------------------------------------------
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
 To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
 or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
 --~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>