[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Identifing links in text

Subject: Identifing links in text
From: Raimund Kammering <Raimund.Kammering@xxxxxxx>
Date: Tue, 04 Jun 2002 13:14:55 +0200
 Identifing links in text
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.