[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xemacs 20.4 set background color
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.