Re: [xsl] XSL hold, compare, and replace param value

Subject: Re: [xsl] XSL hold, compare, and replace param value
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 15:21:02 -0400
At 12:05 PM 7/14/2006, you wrote:
If you were describing the problem to a person you'd say that you want
to group the items by country and put a country heading at the top of
each group.

Right. And explaining how to do that, you wouldn't say "pick up the items one at a time and if you've already done one with that country, skip it", you'd say "pick up one from each country and with it...", and if someone asked "okay which one" you'd say "it doesn't matter but if you really need me to say, the first one will do".


Thus the declarative approach also allows the implementor to optimize where convenient, rather than fussing over details that don't really matter to the solution.

Cheers,
Wendell

Current Thread