This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: building a link...
- To: xsl-list at mulberrytech dot com
- Subject: Re: building a link...
- From: Ragnar Schierholz <raschi at ematic dot com>
- Date: Tue, 11 Jul 2000 17:59:19 -0500
- Reply-To: xsl-list at mulberrytech dot com
> I want to get:
> <a href='books.asp?b=XML'>XML</a>
> <a href='books.asp?b=ASP'>ASP</a>
That doesn't look like a too tough one.
This should do:
<xsl:template match="book">
<xsl:element name="A">
<xsl:attribute name="HREF"><xsl:value-of
select="concat('books.asp?=',@title)"/></xsl:attribute>
<xsl:value-of select="@title">
</xsl:element>
</xsl:template>
So long,
Ragnar
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list