View Single Post
 
Old March 5th, 2007, 09:38 AM
bonekrusher bonekrusher is offline
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default Replace decimal point with another value

Hi,

Is it possible to replace a decimal point with another value?

Input

<Element>1.2.3</Element>
Code:
<xsl:value-of select="replace(Element,'.', '_')"/>
Returns "___"

Desired HTML results

"1_2_3"

Thanks for the help.