|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to call a href?
Title: How to call a href?
I'm having a problem building a link. I need to embed a URL in the XML file and call that URL in the XSL. I will also be using a function I have that will encode any characters in the URL that might be misinterpreted by a browser, but I didn't do that here for readability. Example XML:
Here's what I've tried:
<xsl:value-of select="textNode()"/>
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'. But I cant put the URL in there because it changes with each element ( Author, title, etc...). I think need to pass the URL and the node name and the text node to an ASP page that will then perform a new query with that path, but I don't know how to do that. Any help will be greatly appreciated.
--------------------------------------
|
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








