How do I make an XLink active when displayed with stylesheet

Ok, so I have an xml file holding all my data and am trying to make it so that different elements/attributes within the structure are links, but XLink does not seem to be working for me. I have an xls stylesheet which displays the xml data, and I would like to be able to click on the elements that are displayed and be taken to the links. Below is the first section of code from my xml document:

<studies xmlns:xlink="http://www.w3.org/1999/xlink/">

<study id="mice" xlink:type="simple"

xlink:href="http://www.w3schools.com" xlink:actuate="onRequest" xlink:show="embed">

<animal id="mouse234">

<date id="20070615">

<file>treatment.xml</file>

</date>

</animal>

</study>

And here is my stylesheet:

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>

<xsl:template match="/">

<html>

<body bgcolor="#0099ff">

<font style="font-family:verdana;font-size:110%;color:#FFFFFF"><b>

<h2>Study Performed</h2>

<blockquote>

<xsl:for-each select="studies/study">

<xsl:value-of select="@id"/>

</xsl:for-each>

</blockquote>

</b></font>

</body>

</html>

</xsl:template>

</xsl:stylesheet>

So when I load up the xml file using the stylesheet, it shows:

Study Performed

mice

etc...

And I want mice to be a link but when I mouseover it or try to click it, nothing happens (behaves like normal text). What am I doing wrong?

[1771 byte] By [paulnc8a] at [2007-11-27 10:25:35]
# 1

Just because you use XLink in your XML, it doesn't follow that an XSL transformation will magically convert the element into an HTML link. It's up to you to generate the link in your XSL code.

DrClapa at 2007-7-28 17:34:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Well, thanks for the response, but that doesn't really help me at all... I believe my question WAS how do I use the xsl to make the link active

paulnc8a at 2007-7-28 17:34:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Ah. Well, first you decide what you want the HTML to include so you have a link. Probably an <a> element with href= whatever you had in your xlink:href attribute?

Then you write XSLT code that produces that output. Something like this:<a href="{xlink:href}">whatever text you want</a>

for example. You'll have to declare the xlink namespace in your XSLT document for this to work.

DrClapa at 2007-7-28 17:34:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...