You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ramon Maria Gallart <rg...@asistemas.net> on 2003/09/19 12:02:41 UTC

table row color changing

Hi all.
 
Can anyone tell me the way to change the colors of a table rows? I mean,
the first in a color the next with other color, the next one with the
first color and so on... I've tried to do it using an external variable
but when i change it inside the loop it seems not to recognize it.
 
Thanks a lot.
 
Ramon Maria.

Re: table row color changing

Posted by "J.Pietschmann" <j3...@yahoo.de>.
J.Pietschmann wrote:
> see for example
>  http://www.dpawson.co.uk/xsl/sect2/N7450.html#d4e82

Ouch, misleading example. The key phrase is "grouping by position",
and more appropriate examples would be
   http://www.dpawson.co.uk/xsl/sect2/N6280.html#d6777e235
   http://www.dpawson.co.uk/xsl/sect2/N7450.html#d4e484
I'm sure there are even better examples in the XSL FAQ,
unfortunately, the FAQ isn't organized well for finding them.

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: table row color changing

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Ramon Maria Gallart wrote:
> Can anyone tell me the way to change the colors of a table rows? I mean,
> the first in a color the next with other color, the next one with the
> first color and so on... I've tried to do it using an external variable
> but when i change it inside the loop it seems not to recognize it.

The usual VFAQ, it comes up on the XSL list every couple of days,
see for example
  http://www.dpawson.co.uk/xsl/sect2/N7450.html#d4e82

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org