David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> writes:
Is there a cleaner / simpler way to do this? Any chance you can do
this in one line?
In xslt2:
<xsl:variable name="bg_img" select="if(normalize-space($all_vars))
then 'background_bright' else 'background_faded'"/>
I hate the idea of 2 'if's in a language.
IMHO that makes it even more complicated.
--
Nic Ferrier
http://www.tapsellferrier.co.uk for all your tapsell ferrier needs
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--