replace string value
i have a variable in XSLT called <link>
in this variable i have a url like this
<link> text.xml </link>
I want to change the file extention to .html
Note: this is generated dynamically.
this is what i was thinking:
<xsl:when test="contains($link, '.xml')">
now i have the value of link in test..
I want to put some condition here to replace .xml with .html