| Author |
whitespace problem
|
varnika Raman
Greenhorn
Joined: Jun 10, 2003
Posts: 13
|
|
Hi guys, <A>This is a test</A> I need to convert this into <A>Thisisatest</A> no space in the value. How to do it using XSLT. Thanks in advance. Varnika
|
 |
Mapraputa Is
Leverager of our synergies
Sheriff
Joined: Aug 26, 2000
Posts: 10065
|
|
You can use the translate function. The first parameter is your string, the second which symbols to change, the last -- new symbols. Use empty string ('') as the third parameter, and no more whitespaces! <xsl:value-of select="translate (A, ' ', '')" />
|
Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
|
 |
varnika Raman
Greenhorn
Joined: Jun 10, 2003
Posts: 13
|
|
|
Thanks, It works
|
 |
 |
|
|
subject: whitespace problem
|
|
|