[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Is it possible to write some XSL code which will search some text() for a URL pattern and replace it with a hyperlinked version of itself.
ie.
lah lah lah http://foo/bar.html rah rah rah
gets turned into
lah lah lah <a href="http://foo/bar.html">http://foo/bar.html</a> rah rah rah
for that matter, what are your options for search/replace since translate() only does one character.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] auto-hyperlinker (how to search/replace)?
Subject: [xsl] auto-hyperlinker (how to search/replace)? From: Terence Kearns <terencek@xxxxxxxxxxxxxxxxxxx> Date: Thu, 29 May 2003 18:15:28 +1000 |
Is it possible to write some XSL code which will search some text() for a URL pattern and replace it with a hyperlinked version of itself.
ie.
lah lah lah http://foo/bar.html rah rah rah
gets turned into
lah lah lah <a href="http://foo/bar.html">http://foo/bar.html</a> rah rah rah
for that matter, what are your options for search/replace since translate() only does one character.
-- Terence Kearns: Web Developer University of Canberra: +61 2 6201 5516
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Two columns page, W. Eliot Kimber | Thread | Re: [xsl] auto-hyperlinker (how to , Jeni Tennison |
RE: [xsl] Referencing a external sc, John Reid | Date | Re: [xsl] Trouble keeping html tags, J.Pietschmann |
Month |
Keywords