it sees the link as a local reference
try
<a href="http://{normalize-space(.)}">
perhaps a solution where the url is checked for the existence of http:// or
ftp:// or mailto:
and if not appends it would be best.
Gertjan
-----Original Message-----
From: Holmberg Rick-ra0119 [mailto:Rick(_dot_)Holmberg(_at_)motorola(_dot_)com]
Sent: vrijdag 13 september 2002 16:38
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: RE: [xsl] Simple Question newie
Thanks! Unfortunately this is working better but not correctly. Now I am
getting
http://localhost:7001/jsp/yahoo.com
I am running this locally. The jsp in which I am running this with is in the
/jsp directory so it looks like it is just appending the yahoo.com to the end
of my current directory. I just need the http://yahoo.com.
??
-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Sent: Friday, September 13, 2002 9:22 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Simple Question newie
Oh,
PS.
since your input is
<anId>
yahoo.com
</anId>
not
<anId>yahoo.com</anId>
you want <a href="{normalize-space(.)}">
otherwise the white space around your URL will end up in the attribute.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
BackStream(R)
Willem de Zwijgerlaan 350-352
1055 RD Amsterdam
The Netherlands
tel +31 20 386 8365
fax +31 20 386 8948
Post Office Address:
Postbus 58385
1040 HJ Amsterdam
BackStream: content management - multi-channel distribution
www.backstream.com
This e-mail and any attachment may contain confidential and privileged material
intended for the addressee only. If you are not the addressee, you are notified
that no part of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or attachment is
strictly prohibited, and may be unlawful. If you have received this e-mail by
error, please notify the sender immediately by return e-mail, and delete this
message. BackStream, its subsidiaries and/or its employees shall not be liable
for the incorrect or incomplete transmission of this e-mail or any attachments,
nor responsible for any delay in receipt.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list