xsl-list
[Top] [All Lists]

RE: Discard a "." in an element value

2004-12-14 04:19:50
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!


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>