This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Yet Another Grouping Question


> HTML table with one row per item, sorted by program name.  All `bar'
> lines have green background, all `foo' lines have yellow background,
> all `xyzzy' lines have green background, and so on.
> 
> I.e.: change background color when prog element changes.

Can't see why this is a grouping problem, or why you need to change color
only when the prog element changes. Just use <xsl:choose> to set the
background color on the row depending on the contents of that row.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]