xsl-list
[Top] [All Lists]

[xsl] get value from link from last slash

2007-11-14 00:57:12
Hi, I have a little wierd problem. i have an xml where I have a bunch of image 
links like:

root/statics/images/image.jpg
root/images2/image2.jpg

is there a way to extract the names of the images using xslt 1.0? I need to 
extract the names of the images...image.jpg, image2.jp, etc. I thought about 
using substring but there are more than a slash in the path. Basically I would 
need the string from the last slash to the end. Sounds a little complicated but 
is there a way around it? 10x




      
____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

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