Re: Yet Another Grouping Question

Subject: Re: Yet Another Grouping Question
From: Kai.Grossjohann@xxxxxxxxxxxxxxxxxx (Kai Großjohann)
Date: 15 Mar 2000 14:07:10 +0100
Kay Michael <Michael.Kay@xxxxxxx> writes:

> 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.

You seem to be suggesting to set the background color based on the
program name.  This won't work.

We want a result like this:

    Installed Software

  Program         Version
  ------------------------
  Emacs ......... 19.34 ..
  Emacs ......... 20.3 ...
  Emacs ......... 20.4 ...
  JDK %%%%%%%%%%% 1.1.2 %%
  JDK %%%%%%%%%%% 1.2 %%%%
  XEmacs ........ 20.4 ...
  XEmacs ........ 21.1.9 .

I have tried to visualize the background color with the characters "."
and "%".  This allows you to see, at a glance, which lines belong to
the same program.

Of course, we don't want to change the XSL stylesheet when a new
program is installed.  And we don't want the stylesheet to be
restricted to two versions per program.

I hope I have made things clearer, now.

Btw, the input XML does not necessarily contain the lines in the right
order, as the XML is automatically generated.

kai
-- 
~/.signature: No such file or directory


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


Current Thread