I'm going to leave this one aside for a bit. Until we hear again from
Vivek, it's not clear to me that this is -- quite -- a standard grouping
problem, due to the requirement to group according to string containment,
not just string equality.
It'd be much easier if we could see a representative example of the input.
Vivek, could you post a bit of it, along with a restatement of what kind of
output you want for your input? That way it's all in one email -- less to
guess, less confusing to track.
On the other hand, maybe our haphazard comments and hints have been enough
to help Vivek find the solution on his own.
Cheers,
Wendell
At 10:32 AM 7/19/2004, M.David wrote:
After being "woken up" to a fresh breath of "oh my goodness did I really
swing and miss before the ball even crossed the plate"....
======================================================================
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
======================================================================