View Single Post
  #1 (permalink)  
Old April 21st, 2005, 11:20 AM
str33ts str33ts is offline
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
how??

this is what i was thinking:
<xsl:choose>
<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

</xsl:when>
</xsl:choose>


thnxs


Reply With Quote