This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: PLEASE HELP: changing href attribute
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: PLEASE HELP: changing href attribute
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 13 Jul 2000 16:16:35 +0100
- Reply-To: xsl-list at mulberrytech dot com
- Sensitivity: Company-Confidential
> I would like to change the value (.html instead of .xml) of the href
> attribute in the following well-formed HTML:
> <xsl:template match="@href">
...
> href="<xsl:value-of select='$htmlUrl'/>"
> </xsl:template>
Change this to
<xsl:template match="@href">
...
<xsl:attribute name="href"><xsl:value-of
select='$htmlUrl'/></xsl:attribute>
</xsl:template>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list