I have a xml file and an xslt file in my website project.
xml file:
Kaushal
Please refer answer of this question for first step of question.
For next step of answer, use following xsl:
Mr.
And add following function in MyXslExtension class:
public string AddAge()
{
return "25";
}
You will get the output like this:
Mr. Kaushal
Parik
25
Mr. bhishek
Swarnkar
25
Hope this will help you....