Subject: [xsl] string manipulation - retreiving a directory name from a path From: tom tom <tomxsllist@xxxxxxxxxxx> Date: Mon, 23 Feb 2009 12:44:43 +0000 |
I need to extract the string that appears between the first '/' and the second '/' from a string that takes the form of: '/home/dir1/dir2/file.html'. Can anyone suggest a way to do this, maybe utilising a regular expression, other than substring-before(substring-after($string, '/') '/') Thanks _________________________________________________________________ Windows Live Messenger just got better .Video display pics, contact updates & more. http://www.download.live.com/messenger
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] encoding error when using, Michael Kay | Thread | Re: [xsl] string manipulation - ret, Martin Honnen |
RE: [xsl] encoding error when using, Michael Kay | Date | Re: [xsl] string manipulation - ret, Martin Honnen |
Month |