Hi, I have a METAL define which just draws a pretty little box with a title and content: <div metal:define-macro="box"> <table bgcolor="#000090" border="0" cellpadding="1" cellspacing="0" width="200" align="center"> <tr><td> <table border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" width="200"> <tr><td bgcolor="#000090" tal:attributes="bgcolor string:#000090"> <font size="-1" face="Helvetica,Arial,sans-serif" color="#ffffff"> <strong><div metal:define-slot="title">The Title</div></strong> </font></td></tr> <tr><td> <font class="element"> <div metal:define-slot="body">Contents goes here ...</div></font></td></tr> </table></td></tr> </table> </div> What I would like to be able to do, is set the "bgcolor" attribute dynamically when using this macro. It is not obvious to be whether this is possible or not. The tal:attribute clause is invalid as I have nested tags. Is there any xml-ified version of the good old fashioned C #define functionality for this situation?? Cheers, Alan _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com