Another solution to add to the list you've been given: In
XSLT 2.0 you can
do
<td bgcolor="{if (position() mod 2) then 'black' else 'white'}">
I've tried the solution you've mentioned and got "Error loading
stylesheet: Parsing an XPath expression failed".
Were you using an XSLT 2.0 processor?
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--