xsl-list
[Top] [All Lists]

[xsl] Extracting part of a string

2009-04-15 08:46:48
Hi everyone!

Given the following XML node

<Field value="1956-01-12 (53 y)" name="age" />

or

<Field value="2008-07-14 (1 y)" name="age" />

Is there an XSL function that will extract only with is in between the
brackets?

The user just wants to see 53 y, not the birth date.

I'm using XSLT 1.0.

Thanks!


--~------------------------------------------------------------------
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>