Subject: [xsl] problem defining param value From: Jonina Dames <jdames@xxxxxxxxx> Date: Tue, 08 Jan 2013 15:32:56 -0500 |
<!-- use the value passed in by parameter if available --> <xsl:when test=" $OUTSIDE_PARAM != '' "> <xsl:value-of select="$OUTSIDE_PARAM"/> </xsl:when>
<xsl:variable name="fork1"> <xsl:value-of select="string that returns either 'FORK' or 'SPOON'"/> </xsl:variable>
<xsl:param name="OUTSIDE_PARAM"> <xsl:if test="$fork1 = 'FORK'"> <xsl:value-of select="string that returns 'VALUE1'"/> </xsl:if> <xsl:if test="$fork1 = 'SPOON'"> <xsl:value-of select="string that returns 'VALUE2'"/> </xsl:if> </xsl:param>
Thanks, Joni
-- Jonina Dames Customer Support Specialist Inera Inc. +1 617 932 1932 jdames@xxxxxxxxx
------------------------------------------------------------------- This email message and any attachments are confidential. If you are not the intended recipient, please immediately reply to the sender or call 617-932-1932 and delete the message from your email system. Thank you. -------------------------------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: Pearls of XSLT and XP, Wolfgang Laun | Thread | Re: [xsl] problem defining param va, G. Ken Holman |
Re: [xsl] Entity references, David Carlisle | Date | Re: [xsl] problem defining param va, G. Ken Holman |
Month |