RE: How to call a href?

Subject: RE: How to call a href?
From: Kara Lee <KaraL@xxxxxxxxxxxxxx>
Date: Mon, 2 Aug 1999 16:15:02 -0700
Title: RE: How to call a href?

I have a slightly new question now on the same subject.  In my XSL I'm trying change a URL on the fly.
I've tried this:
<a class="hop" href="" false"><xsl:value-of select="textNode()"/></a>

I know that '{node-name} is not the correct Syntax but I'm not sure what I can put in there to achieve the same results.  The beginning of the href will always be the same but the node name and textnode will change the URL to what it should be.

I want the HREF to look like this:
./Query=NodeName:TextNode
So I encode it to look like this:
        ./Query%3DNodeName%3ATextNode

I only want the href to show in the grey caption area  at the bottom of the web page.  This is done automatically with the value of href that is in the <a> tags.  So that part is taken care of if I can get it to show the node name instead of the phrase 'node-name'.

I tried using a variable for the value-of node name and textnode() in my template but I get the error:
        Xsl:variable cannot be used here.

If you have any ideas I would apprecieate them.
Thanks in advance,

--------------------------------------
Kara Lee
Applied Technical Systems
karal@xxxxxxxxxxxxxx
http://www.apptechsys.com
CCM Technology Demo:
http://www.apptechsys.com/ccm
---------------------------------------


Current Thread