[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Fw: Using a parameter in a condition

Subject: Re: Fw: Using a parameter in a condition
From: Ian Lang <ianplang@xxxxxxxxx>
Date: Tue, 24 Feb 2004 08:17:36 -0800 (PST)
Re: Fw:  Using a parameter in a condition
Oops sorry about that - it was late.

Here are the ways I tried to call it:
    <xsl:variable name="stringA">
      <xsl:call-template name="getLocalizedString">
      	<xsl:with-param name="key"
select="'String.One'"/>
      </xsl:call-template>
    </xsl:variable>

    <xsl:variable name="stringB">
      <xsl:call-template name="getLocalizedString">
      	<xsl:with-param
name="key"><xsl:text>String.One</xsl:text></xsl:with-param>
      </xsl:call-template>
    </xsl:variable>

    <xsl:variable name="stringC">
      <xsl:call-template name="getLocalizedString">
      	<xsl:with-param name="key"
select="String.One"/>
      </xsl:call-template>
    </xsl:variable>

Hopefully that completes the picture and thanks for
the poke to include that very important part.

IL

> Michael Kay wrote on
> 2004-02-24 00:58:34:
> 
> > You are clearly supplying the parameter to the
> template incorrectly, but
> > since you haven't shown us the calling code, it's
> hard to tell you
> > what's wrong with it.
> > 
> > Michael Kay


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.