|
Subject: Re: Fw: [xsl] Using a parameter in a condition From: Ian Lang <ianplang@xxxxxxxxx> Date: Tue, 24 Feb 2004 08:17:36 -0800 (PST) |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Using a parameter in a co, Michael Kay | Thread | Re: Fw: [xsl] Using a parameter in , David Carlisle |
| Re: [xsl] node traversal, G. Ken Holman | Date | Re: [xsl] Transparent Images, Mark Williams |
| Month |