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

Re: Converting embedded URLs int hot links via XSL

Subject: Re: Converting embedded URLs int hot links via XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 19 Apr 2004 17:22:05 +0100
ghulam abbas
  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
________________________________________________________________________

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.