Subject: RE: Simple question - links
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Wed, 6 Oct 1999 14:09:16 +0100
|
<xsl:template match="mylink">
<a>
<xsl:attribute name="href">
<xsl:value-of select="text()"/>
</xsl:attribute>
</a>
</xsl:template>
> -----Original Message-----
> From: Anthony.Behan@xxxxxxxxxxxxxxx
> [mailto:Anthony.Behan@xxxxxxxxxxxxxxx]
> Sent: 06 October 1999 12:48
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Simple question - links
>
>
>
>
> What XSL do I need to get from
> <mylink>
> www.yahoo.com
> </mylink>
>
> to
>
> <a href="www.yahoo.com">Click Here</a>
>
> The main problem appears to be the quotes.
>
> Thanks,
>
> Anthony Behan.
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|