Re: [xsl] Extract only numeric value

Subject: Re: [xsl] Extract only numeric value
From: Jeff Sese <jsese@xxxxxxxxxxxx>
Date: Thu, 24 May 2007 16:10:54 +0800
in XSLT 2.0 you can do:

replace(.,'\D','')

this would delete all non-digit characters.
--
Jeff

J. S. Rawat wrote:
Dear All,
I would like a help about to extract numeric value.

Input
<year>2007a</year>
Output
<year>2007</year>

Thanks in advance for your kind help.
...JSR

Current Thread