Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Advanced string processing >Thread Next - Re: Advanced string processing Re: Advanced string processingTo: NULL Date: 8/3/2004 7:05:00 AM http://sources.redhat.com/ml/xsl-list/2002-03/msg00399.html Cheers, Dimitre Novatchev. P.S. Using extension functions could be dangerous and is generally not recommended, if these functions have a side effect. "Thorsten Tarrach" <tho_public@g...> wrote in message news:OYnykiZdEHA.2544@T...... > Hallo, > I have a tricky problem: > In a XSL variable there is the string "xyz/bla/123.htm", or another example: > "../abc/123.htm". > string-before($var, '/') gives me "xyz" or ".." (sorry haven't got the time > to test this out, but that's the way I understood the documentataion). But I > want the whole path, without the filename at the end. The idea behind this > is to replace the filename. I don't think there is any suitable funcion for > this in XPath1. > Any suggestions? > Thanks, Thorsten > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
