This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Rendering: filling tag attributes via XSLT
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Rendering: filling tag attributes via XSLT
- From: Ben Robb <Ben at cscape dot com>
- Date: Wed, 20 Sep 2000 15:30:58 +0100
- Reply-To: xsl-list at mulberrytech dot com
If you are using a compliant processor, use the attribute value template:
<a href="#{@name}">Link</a>
If you are using IE5's processor, use the old <xsl:attribute> method:
<a>
<xsl:attribute name="href">
#<xsl:value-of select="@name"/>
</xsl:attribute>
Link
</a>
Ben
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list