Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: using xsl:param using xsl:paramTo: NULL Date: 4/2/2005 11:43:00 AM In IE, If I use:
<xsl:apply-templates select="document($s1)/channel" >
<xsl:with-param name="needit">1</xsl:with-param>
</xsl:apply-templates>
to call:
<xsl:template match="channel">
<param name="needit" />
<h2><xsl:value-of select="title" /> </h2>
<p><xsl:value-of select="description" /> </p>
<xsl:for-each select="item">
<p><xsl:call-template name="i1" />
<xsl:if test="$needit=1">...(do something additional )...</xsl:if>
</p>
</xsl:for-each>
</xsl:template>
Why do I get:
"A reference to variable or parameter 'needit' cannot be resolved. The
variable or parameter may not be defined, or it may not be in scope. "
???
Any Ideas?
Russ Wickstrom
Minneapolis, MN
rwickstrom@a...
--
I am using the free version of SPAMfighter for private users.
It has removed 2687 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
