[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Hyperlinks and XSL

Subject: RE: Hyperlinks and XSL
From: Ed Nixon <ed.nixon@xxxxxxxxxxxxxxxxx>
Date: Wed, 14 Oct 1998 16:45:01 -0400
hyperlinks in xsl
There is probably a more elegant, but more-or-less 'theoretical' (read 
unimplemented) way of doing this but...let's get the ball rolling:

<xsl:template match="image">
	<xsl:text>&lt;a href="</xsl:text>

Just from memory with absolutely no guarantees. The entities for less-than and 
greater-than may or may not be necessary; I'm not familiar with the proposal 
sufficiently to say. You might want to tart up the colour or font-style within 
the 'fo:block' to make the link stand out. There is probably a way to insert 
the actual text value for the gif file using an XSL operator, but I don't have 
that at my finger tips. This is, of course, an HTML link and not a XLink you're 
trying to create, right? If you want to look at a pretty wide selection of 
functioning (mostly) XML/XSL code go get the software at http://www.indelv.com.

Cheers.			...edN

-----Original Message-----
From:	Bethany Close [SMTP:bclose@xxxxxxxxxxxxxxxxx]
Sent:	Wednesday, October 14, 1998 3:43 PM
To:	xsl-list@xxxxxxxxxxxxxxxx
Subject:	Hyperlinks and XSL

Given an XML tag like the following how can one create a
hyperlink using XSL rules and actions?


Using XSL, I would like to create the following hyperlink:
<a href="clinton.jpg">clinton.jpg</a>

Thanks, Beth

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

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.