This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: ahref
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] ahref
- From: James Eberhardt <JEberhardt at extend dot com>
- Date: Wed, 25 Apr 2001 11:21:50 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Try this:
<xsl:value-of
select="/interAgency/conRec[contactID=$newcontactID]/file/@href"/>
This is the difference between the value of a node-set and the value of an
attribute (the @ indicates the selection of an attribute).
You will definitely want to check out the FAQ for this list.
http://www.dpawson.co.uk/xsl/xslfaq.html
Good luck.
-----Original Message-----
From: Tanzila Mohammad [mailto:tmohammad@entier-solutions.com]
Sent: Wednesday, April 25, 2001 11:08 AM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] ahref
---
<td colspan="3" width="363">
<font face="Arial, Helvetica, sans-serif"
color="#000000" size="1">
<a>
<xsl:attribute name="href"><xsl:value-of
select="/interAgency/conRec[contactID=
$newcontactID]/file"/></xsl:attribute>
<xsl:value-of
select="/interAgency/conRec[contactID=$newcontactID]/file"/>
</a>
</font>
</td>
</tr>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list