|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to call a href?
>Example XML:
><Author><a
href="http://data/dev/?Query=Author%3AKaste+M&Path=">Kaste M">
>Kaste M
></a></Author>
You may need to change the ampersand in the URL to "&" (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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








