forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject Re: Skin colors from skinfconf into CSS
Date Mon, 29 Dec 2003 11:46:10 GMT
Nicola Ken Barozzi wrote:
> What do you think, should I use the plain XSLT (which seems simple 
> enough for me) or go with the simplified version?

I can also do simple value checking, and it's easy in both the xslt and 
simple versions:

#poweredby {
     <if test="host-logo">
       background-image: url(../<value>host-logo</value>);
     display: block;
     height: 38px;
     width: 102px;

#poweredby {
     <xsl:if test="host-logo">
       background-image: url(../<xsl:value-of select="host-logo"/>);
     display: block;
     height: 38px;
     width: 102px;

Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

View raw message