Re: Re: XSL

From: Date: Mon, 26 Jan 2004 00:35:07 +0000
Subject: Re: Re: XSL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175703@lists.php.net to get a copy of this message
May i ask, what is a good purpose for xsl apart from syndication, is it worth it for building an entire site in or a content management system ? Like i found generating the xml, then having to do loops and stuff in xsl, having no control in php a real pain. > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#175703) next »