Re: [xsl] Use of Parameter with conditional logic - please help!

Subject: Re: [xsl] Use of Parameter with conditional logic - please help!
From: James Melton <james.melton@xxxxxxxxxxx>
Date: Thu, 02 Aug 2001 17:17:41 -0400
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@xxxxxxxxxxx     www.cylogix.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread