This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Use of Parameter with conditional logic - please help!
- To: xsl-list at lists dot mulberrytech dot com, Warren at onlinecmn dot com
- Subject: Re: [xsl] Use of Parameter with conditional logic - please help!
- From: James Melton <james dot melton at cylogix dot com>
- Date: Thu, 02 Aug 2001 17:17:41 -0400
- References: <8076AE14FE3CD511ABB000D0B7E13343012146@s216-232-95-98.bc.hsia.telus.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Are you looking for something like this:
<xsl:param name="basesym" select="'SP'"/>
<xsl:template match="/">
<xsl:value-of
select="News/FullStory/Story[../BaseSymbol=$basesym]"/>
</xsl:template>
BTW: never promise your boss anything... </grin>
Jim.
Warren Keane wrote:
>
> The parameter value is displayed correctly but I can't get the conditional
> logic to work. I have tried many things including the use of variables. I
> think I just need the syntax for the <xsl:choose> that can use the
> parameter. Any suggestions are appreciated, I have been up all night and
> leave for vacation today, I promised my boss this would be done.
>
____________________________________________________________
James Melton CyLogix
609.750.5190 609.750.5100
james.melton@cylogix.com www.cylogix.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list