Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Advanced string processing

From: "Dimitre Novatchev" <x@---.--->
To: 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
>




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent