[xsl] xsl href usage

Subject: [xsl] xsl href usage
From: "Chhunavuth Kao" <oky@xxxxxx>
Date: Wed, 8 Aug 2001 01:53:35 -0400
Hi all,

I am trying to reference a document in this xsl. Here is a part of the 
code in the xsl:

<td><xsl:if test="leaf">
    <a href="?leaf[1]/@xlink:href?">
         <xsl:value-of select="leaf[1]/title"/>
       </a> 
 </xsl:if>
</td>

Here is the element in the xml file:
<leaf operation="new" xlink:type="simple" xlink:href="study_1/Test.pdf">
	<title>Study Report 1111 Protocol</title>
</leaf>

When I transformed the xml with xsl, the linking is not working
properly. 
By clicking on it doesn't do anything and the
source output html looks something like this:
<a href="?leaf[1]/@xlink:href?"> 

but should be something like this below:
<a href="study_1/Test.pdf">

Suggestion?


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


Current Thread