|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Transforming/trimming text in XSLT 2.0
Thanks, Michael. This suggestion works great!
Nadia
Michael Kay <mike@xxxxxxxxxxxx>
2006-07-04 14:05
Please respond to xsl-list
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc:
Subject: RE: 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








