Re: XSL
| From: | Tobias Bradtke | Date: | Sat, 24 Jan 2004 15:25:00 +0000 |
| Subject: | Re: XSL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175632@lists.php.net to get a copy of this message | ||
Aidan Lister wrote:
> I am attempting to put this in my XSL, <a href="<xsl:value-of
> select="link"
> />">, However I get a ton of errors. How do I do this properly?
try something like this:
<a href="{link}"></a>
or this:
<a>
<xsl:attribute name="href"><xsl:value-of select="link"
/></xsl:attribute>
</a>
(^untested, but this is the way to do it in xsl..)
look here: http://www.w3.org/TR/xslt#dt-attribute-value-template
greetz!
webwurst