Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Identifing links in text

From: Raimund Kammering <Raimund.Kammering@------->
To:
Date: 6/4/2002 3:25:00 AM
Hallo Everybody,

I need some way to identify a link like statement in a tagged piece of
text. To make it more clear
here is a small sample the XML code migth look like:

<entry>
 <keyword>Info</keyword>
 <text>Some amount of plain text. But inside may appear a
statement like this: http://www.some-server.com and this shall
be shown as a usual (blue) link in a browser.</text>
<entry>

I want the <text> to be shown in a web browser and the link to be a
clickable href.
I already tried to parse the text part and look for the 'http://' but
this way I can only
identify one link per <text> entry and the procedure is quite ugly
(substring(substring...).
Is there some generic (or at least some save way) to convert this link
like statement
to a href??
Any comments and suggestions are very welcome!

Raimund
--
DESY -MVP-
Notkestrasse 85
D-22603 Hamburg
Tel.: +49 40 8998 -4903
e-mail: Raimund.Kammering@xxxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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