This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]