This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: value for href
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] value for href
- From: "Duffey, Kevin" <KDuffey at BUYMEDIA dot com>
- Date: Thu, 18 Oct 2001 13:44:27 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
Somebody correct me if I am wrong, but I believe you use the xsl:attribute
to do this?
<a>
<xsl:attribute name="href">
<xsl:value-of select="SiteURL"/>
</xsl:attribute>
</a>
I hope that is it. That is how I have done it in the past. There might be a
more convenient way to do it though..not sure.
> -----Original Message-----
> From: Scott Hofmann [mailto:hofmanns@one.net]
> Sent: Thursday, October 18, 2001 1:11 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] value for href
>
>
> I put the below line of code into an .XSL file and it complains that
> the value of attribute "href" must not contain the '<' character.
>
> <td bgcolor="lightsteelblue"><b>URL</b>: <a href="<xsl:value-of
> select='SiteURL'/>"><xsl:value-of select='SiteURL'/></a></td>
>
> So how could i format this line so the value for <xsl:value-of
> select='SiteURL '/> gets inserted into the <a href> area?
>
> Scott
> --
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list