Link to home
Start Free TrialLog in
Avatar of techques
techques

asked on

How xsl:template match get the param?

<xsl:param name="UserName" />
<xsl:template match="/UserInfo/User[@Name=$UserName]/Account">

I pass the param from server side to xsl, but it has error.

I use asp.net, c#, xslt 1.0      
SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of techques
techques

ASKER

Both are great solution!
Thanks Gertone!