This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: newbie question: nested tags
- From: Trevor Nash <tcn at melvaig dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 11 Feb 2002 19:45:00 +0000
- Subject: Re: [xsl] newbie question: nested tags
- Organization: Melvaig Software Engineering Limited
- References: <60A8664AEEB2D511B631000476AAB1A396056C@ma-atl81>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@melvaig.co.uk
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list