RE: [xsl] Simple Question newie

Subject: RE: [xsl] Simple Question newie
From: "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Sep 2002 10:53:38 -0400
you need to preface the href value with http://, or the browser will assume
it is a relative link, so try <a href="http://{normalize-space(.)}">

	- Theo

-----Original Message-----
From: Holmberg Rick-ra0119 [mailto:Rick.Holmberg@xxxxxxxxxxxx]
Sent: Friday, September 13, 2002 10:38 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
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@xxxxxxxxx]
Sent: Friday, September 13, 2002 9:22 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread