Subject:Hyperlinks in XSLT ? Author:steven matthews Date:28 Dec 2006 11:11 AM
HI Team,
I would like to know how to create hyperlinks in XSLT. In the following code snippet there is a line
<td><xsl:value-of select="HS_EMAIL"/></td>
The value HS_EMAIL contains an email address.
How could I wrap this in a <a href></a> tag so that when clicked in the displayed HTML, it would invoke the email program so thatthe person could be emailed directly ? The problem is that I need to say
"mailto: HS_EMAIL"
CODE SNIPPET:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/SERVICES">
<html>
<body bgcolor="#F5DF91">
<title>Displaying dynamically generated XML using XSL</title>