RE: How to call a href?

Subject: RE: How to call a href?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 3 Aug 1999 09:36:54 +0100
>Example XML: 
><Author><a
href="http://data/dev/?Query=Author%3AKaste+M&Path=";>Kaste&#32;M"> 
>Kaste M 
></a></Author>

You may need to change the ampersand in the URL to "&amp;" (or just to a
semicolon)

 
>Here's what I've tried: 
><xsl:template match="a" xml:space="preserve"> 
>           <A class="hop" href="xsl:value-of @href" onclick="return false"
onfocus="h()">
>              <xsl:value-of select="textNode()"/> 
>           </A> 
></xsl:template> 
>Then I have an onclick object but I don't know what to do with it.  Right
now it just >brings up 'xsl:value-of @href'. 

Have I missed something, or don't you just want to say href="{@href}"?

Mike Kay


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


Current Thread