Re: XSL
| From: | Aidan Lister | Date: | Mon, 26 Jan 2004 00:26:06 +0000 |
| Subject: | Re: XSL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175701@lists.php.net to get a copy of this message | ||
Ahh fantastic. Thanks very much for that.
"Tobias Bradtke" <webwurst@web.de> wrote in message
news:20040124152447.61390.qmail@pb1.pair.com...
> 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