RE: How to call a href?

Subject: RE: How to call a href?
From: Kara Lee <KaraL@xxxxxxxxxxxxxx>
Date: Tue, 3 Aug 1999 09:55:23 -0700
Thanks for the tip Kay.  But when I do what you suggested: href={@href}
<mailto:{@href}> 
It comes up literally as {@href} <mailto:{@href}> , instead of the value at
href.  I'm not sure why.

So to get around it I thought I might try to go around that and build the
href in the XSL.  Since the first part of the URL will always be the same as
that of the current page, I just need a way to access the node name and its
text when I call href.
Example XML:
	<Author>Smith J</Author>

Example XSL:
<a class="hop" href="./Query&#61;{xsl:node-name}&#58;{xsl:textnode()}"
onclick="return false"> 
		<SPAN class="b"><xsl:entity-ref name="nbsp"/></SPAN>

		<xsl:value-of select="textNode()"/>
	</a>

So that it will produce an href of the base URL and "Query=Author:Smith J"
appended to the end of it.

I know that {xsl:node-name}{xsl:textnode()} does not work, but I'm not sure
what will.  Is it possible to do something like this?
Thanks in advance. 
---------------------------------------
Kara Lee
Applied Technical Systems
karal@xxxxxxxxxxxxxx <mailto:karal@xxxxxxxxxxxxxx> 
http://www.apptechsys.com <http://www.apptechsys.com> 
CCM Technology Demo: 
http://www.apptechsys.com/ccm <http://www.apptechsys.com/ccm> 
---------------------------------------



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


Current Thread