Is it possible to slice off the end of a URL with XSLT 1.0?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-06-05T16:43:46Z Indexed on 2010/06/05 16:52 UTC
Read the original article Hit count: 115

Filed under:
|

Title says it all really. Using only XSLT 1.0's string functions, how would I go about slicing off the end of a url?

So from

http://stackoverflow.com/questions/2981175/is-it-possible-to-slice-the-end-of-a-url-with-xslt-1-0

I would like to extract

is-it-possible-to-slice-the-end-of-a-url-with-xslt-1-0

Is this possible?

© Stack Overflow or respective owner

Related posts about xslt

Related posts about string-manipulation