Re: [xsl] Converting embedded URLs int hot links via XSL

Subject: Re: [xsl] Converting embedded URLs int hot links via XSL
From: Ghulam Abbas <abbasg_99@xxxxxxxxx>
Date: Mon, 19 Apr 2004 12:24:21 -0700 (PDT)
Finally, I was able to solve the issue.
First, recursively I put temp markers in the string
and then replaced these markers with the <a> tags.

Thanks to all for help.

Abbas

--- David Carlisle <davidc@xxxxxxxxx> wrote:
> 
>   So, looks like the problem at hand can not be
> solved
>   without using extensions (which I can't)???
> 
> Not at all. You could do this in xslt1, as outlined
> already by Mike Kay
> in this thread. rather than using a regexp to find
> the end ofURI
> just use substring-before after first using
> translate() to make sure
> that all your possible terminating characters (eg
> space, newline,
> quotes, brackets) are translated to be the same
> character.
> 
> It's _easier_ in XSLT2 or using an extension element
> and probably
> quicker, but the recursive templates needed wouldn't
> be that hard
> to do in xslt1.
> 
> David
> 
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by Star
> Internet. The
> service is powered by MessageLabs. For more
> information on a proactive
> anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
>
________________________________________________________________________
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25"
http://photos.yahoo.com/ph/print_splash

Current Thread