I need to be able to find the last occurrance of a character within an element.
for example:
<mediaurl><http://www.blah.com/path/to/file/media.jpg></mediaurl>
If I try to locate through using substring-before(mediaurl, '.')
and substring-after(mediaurl, '.')
then it will, of course, match on the first dot. How would I get the file extension. Essentially, I need to get the file name and the extension from a path like this, but I am quite stumped as to how to do it using XSLT.