|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: building a link...
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








