Subject:XSL Param Author:L R Date:30 Oct 2001 08:04 PM
Hi,
I'm a beginner in the xsl , but I wanted to know how to pass a xsl parameter value in the HREF tag of HTML
It is required to send the value of this above xsl:value-of statement to the asp page
Right now I have not used any variable names
Could anyone assist me doing this!!
Thanks
L R
Subject:Re: XSL Param Author:Minollo I. Date:30 Oct 2001 08:19 PM
>...
>I'm a beginner in the xsl , but I wanted to know how to pass a xsl
>parameter value in the HREF tag of HTML
>
>{td class="boxLinkText"}
>{a href="authorization_form.asp?"}
>{xsl:value-of select="./@so_alias"/}{/a}
>{/td}
I guess a solution could be:
{td class="boxLinkText"}
{xsl:variable name="foo"}authorization_form.asp?{xsl:value-of
select="./@so_alias"/}{/xsl:variable}
{a href="$foo"/}
{/td>}
Subject:Re: XSL Param Author:L R Date:30 Oct 2001 08:54 PM
Hi,
Thanks for a quick reply, I have changed the code to something like this. I shall run this on the server tomorrow and comeback with my questions!!
Is this code correct ? There were no syntax errors....
Thanks
L R
Subject:Re: XSL Param Author:Minollo I. Date:30 Oct 2001 09:17 PM
It doesn't sound right to me; you are not assigning any value to $Pnum (no
select="" attribute; and no document fragment, as you immediately close the
xsl:variable element).
I guess you want to use something more similar to my previous example.