This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Simple Question newie


> Thanks!  Unfortunately this is working better but not 
> correctly.  Now I am getting 
> http://localhost:7001/jsp/yahoo.com
> 

That's not an XSLT problem. If you want "yahoo.com" interpreted as
"http://www.yahoo.com/";, then you're going to have to translate it. If
you just put "yahoo.com" into the href attribute of an <a> element, it
will be interpreted by the browser as a relative URI, relative to the
base URI of the HTML page.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]