Re: [xsl] newbie question: nested tags

Subject: Re: [xsl] newbie question: nested tags
From: Morten <morten@xxxxxxx>
Date: Mon, 11 Feb 2002 20:34:01 +0100
Joe Cheng wrote:
I'm trying to use the value-of as an attribute for an HTML tag. Example:

<a href="<xsl:value-of select="url"/>">link</a>

There must be a way to do this, but I'm not seeing it... short of using a
CDATA section for the markup surrounding the select, but that seems like a
terrible hack.

&lt;a href="<xsl:value-of select="url"/>"&gt;link&lt;/a&gt; :)


Morten




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread