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

RE: Simple Question newie

Subject: RE: Simple Question newie
From: "Gertjan Assies" <Gertjan.Assies@xxxxxxxxxxxxxx>
Date: Fri, 13 Sep 2002 17:02:20 +0200
newie
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.Holmberg@xxxxxxxxxxxx]
Sent: vrijdag 13 september 2002 16:38
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE:  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@xxxxxxxxx]
Sent: Friday, September 13, 2002 9:22 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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


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.