Subject: RE: [xsl] the last substring From: yan bai <bytj@xxxxxxxxx> Date: Mon, 19 Nov 2001 06:24:33 -0800 (PST) |
Thank you all, gurus. All the methods you suggested works. Currently, I used a "substring-after(substring-after(substring-after('text_string_here', '.'),'.'),'.')" since it is sure that there are only 3 dots. Yan --- Oleg Tkachenko <olegt@xxxxxxxxxxxxx> wrote: > Hello yan bai! > > Recursive substring-after() ? > > --- > Oleg Tkachenko, > Multiconn International, Israel > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On > Behalf Of yan bai > > Sent: Friday, November 16, 2001 11:29 PM > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: [xsl] the last substring > > > > > > I have an element like: > > <elem>xxxxx.xxxxx.xxxx.1234</elem> > > > > > > I know substring-before() will read the value > before > > the first '.'. > > > > I wonder how I can read the value after the last > '.', > > namely 1234. > > > > Thanks. > > > > Yan > > > > > > __________________________________________________ > > Do You Yahoo!? > > Find the one for you at Yahoo! Personals > > http://personals.yahoo.com > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] the last substring, Oleg Tkachenko | Thread | Re: [xsl] the last substring, Jörg Heinicke |
Re: [xsl] xslt on server-side vs. c, cutlass | Date | Re: [xsl] xslt on server-side vs. c, David Carlisle |
Month |