Subject: Re: newbie question: nested tags
From: Trevor Nash <tcn@xxxxxxxxxxxxx>
Date: Mon, 11 Feb 2002 19:45:00 +0000
|
Jeff,
>I'm guessing the "url" is an element within scope that has the desired
>url string within it's text node(s)?
>
>If so, then...
>
><a>
> <xsl:attribute name="href"><xsl:value-of select="url"/></xsl:attribute>
> link
></a>
>
Not wrong, but clumsy. You need to look up attribute value templates
too, which gives you:
<a href="{url}"> link </a>
Regards,
Trevor Nash
--
Traditional training & distance learning,
Consultancy by email
Melvaig Software Engineering Limited
voice: +44 (0) 1445 771 271
email: tcn@xxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|