I am already using XPathNodeIterator as return type, it is working fine if i intialize the param og variable normaly with a select, but if i use the xsl:chose to intialize i get the following error:
To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function.
How to initialize a xsl:param on behalf of the querystring
I am new to XSLT and would like to know how to initialize a xsl:param on behalf of a value in the querystring.
Example in C#:
String param = null;
[code]If(Request.QueryString[“searchString”] != null)
param = Extensions:GetThreads();
Else
param = Extensions:SearchThreads();[/code]
I have tried something like this but I docent work:
[code][/code]
I'd go with a
Thanks for your reply!
I am already using XPathNodeIterator as return type, it is working fine if i intialize the param og variable normaly with a select, but if i use the xsl:chose to intialize i get the following error:
To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function.
is working on a reply...