Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14)
2005-05-05 08:53:37
(Commenting on David again)
At 04:47 AM 5/5/2005, he wrote:
Once it is was clear that there was an atomic test that you could do
that flagged when the group needed to change then it's pretty much a
standard grouping question of the type that we see on this list every day
for the last 7 years or so:-) The thing that makes this one a bit more
interesting (and stops the usual grouping solutions working out of the
box) is that you need to add an attribute to the grouping element that
you don't know until the end of the group. As you have to add attributes
before child elements this means that you have to save up the child
elements to add later, hence the $g parameter. Apart from that it's a
standard "tree walking" grouping method, another example of which I
posted in another thread earlier in the week (in that case grouping on
processing instruction nodes)
This is a good example of how once you've assimilated certain principles
and higher-level methods, the hard problems become more tractable. An
excellent reason to read this list.
More generally, it's also interesting how solutions can "leapfrog" over one
another. For example, the key-based solution to grouping-by-proximity was
developed by several list members bouncing off each other, back a few years
ago now. Now it's standard practice.
What's not so good is when a solution becomes so "standard" that we stop
seeing other possible ways to go about things. I think there's lots of code
out there that gets out the big guns when it doesn't have to. But sometimes
the collective Brain gets too coherent and well-organized, squashing its
own imagination.
Cheers,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), (continued)
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- RE: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Michael Kay
- Message not available
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- RE: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Michael Kay
- Message not available
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), David Carlisle
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), David Carlisle
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), David Carlisle
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14),
Wendell Piez <=
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), David Carlisle
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Karl Stubsjoen
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14, Aron Bock
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14, Aron Bock
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), David Carlisle
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14, Aron Bock
- Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Wendell Piez
Re: A challenge.. Group Periods of Data (1..5, 2..8, 4..9) (10..12; 10..14), Dimitre Novatchev
|
|
|