RE: [xsl] Discard a "." in an element value

Subject: RE: [xsl] Discard a "." in an element value
From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx>
Date: Tue, 14 Dec 2004 11:19:50 +0000
Hi,

  I used:
  <xsl:value-of select="." />

  But I`d like to select only "2004", and not the "."
.
  How can I discard the "."?

The following should do the job :- <xsl:value-of select="translate(.,'.','')" />

Cheers.

Arun

_________________________________________________________________
Citibank Suvidha account at No Minimum Balance! http://creative.mediaturf.net/creatives/suvidha/suvidha_hmtagoffline_dec04.htm Apply & get FREE watch!


Current Thread