Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: using xsl:param

From: "Russ Wickstrom" <rwickstrom@-----------.--->
To: NULL
Date: 4/6/2005 2:17:00 PM
I've tried it both ways and get no error...but it is as if there is no
value
in the param.  When I use $needit in the <xsl:if>, it never triggers as
"true" and when I try to pass the value through to the resulting HTML to
display it, it also sends no result.

Might it be that I need an xsl extension of some sort to use this?

--Russ



"Martin Honnen" <mahotrash@y...> wrote in message
news:OPimZSrOFHA.3808@T......
>
>
> Russ Wickstrom wrote:
>
> > That issue is corrected, but I still cannot access the value of the
param.
> >
> > Using the param as a switch to turn on (or off) additional content, is
> > what
> > I THOUGHT was a primary use of param.  Excuse my confusion, but  I've
been
> > banging on this too long.  What am  I doing wrong?
>
> >>>Russ Wickstrom wrote:
> >>>
> >>>
> >>>>In IE, If I use:
> >>>>
> >>>><xsl:apply-templates select="document($s1)/channel" >
> >>>> <xsl:with-param name="needit">1</xsl:with-param>
> >>>></xsl:apply-templates>
>
> You could try to use
>    <xsl:with-param name="needit" select="1" />
> instead of
>    <xsl:with-param name="needit">1</xsl:with-param>
>
> If you are still experiencing problems then tell us exactly which error
> message you are getting.
>
> --
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/


--
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!




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent