Thanks, Michael. This suggestion works great!
Nadia
Michael Kay <mike(_at_)saxonica(_dot_)com>
2006-07-04 14:05
Please respond to xsl-list
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc:
Subject: RE: [xsl] Transforming/trimming text in XSLT 2.0
Basically I am looking for a way to capture all the text
that appears
after the last colon.
replace($in, ':([^:]*)$', '$1')
Alternatively, and perhaps more legibly,
tokenize($in, ':')[last()]
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--