Skip to Content
0
Feb 07, 2011 at 11:50 AM

How to pass value to xslt param dynamically using xml query template?

3388 Views

I need to pass a param value to xslt dynamically using xml query template.

I have xml query, where I am using xslt transformation.

Now I need to set the xslt param(SelectName) value as query's [Param.1].

How can I do this.

I have this code in my xslt file:

<xsl:param name="*SelectName*"/>     

<xsl:template name="description"  match="/">
	
	<xsl:for-each select="Rowsets/Rowset/Row[Unit='$*SelectName'*]">	
.
.
.