Nested Groupings

New Message Reply About this list Date view Thread view Subject view Author view

From: Paul & Eleanor (goodhill_at_xmission.com)
Date: Thu Feb 08 2001 - 06:05:52 CET


Received: (from mdom_at_localhost) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id GAA23944 for cavexml-outgoing; Thu, 8 Feb 2001 06:01:46 +0100
Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id GAA23940 for <cavexml_at_cartography.ch>; Thu, 8 Feb 2001 06:01:45 +0100
Received: from slc842.modem.xmission.com ([166.70.6.80] helo=xmission.com) by mail.xmission.com with esmtp (Exim 3.12 #1) id 14QjDr-0002VW-00 for cavexml_at_cartography.ch; Wed, 07 Feb 2001 22:02:24 -0700
Message-ID: <3A822930.65FE8A14@xmission.com>
Date: Wed, 07 Feb 2001 22:05:52 -0700
From: Paul & Eleanor <goodhill_at_xmission.com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
To: cavexml_at_cartography.ch
Subject: Nested Groupings
References: <3A8163EB.E5F160D7_at_earthlink.net> <3A817739.9060102_at_europa.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-cavexml_at_karto.baug.ethz.ch
Precedence: bulk
Reply-To: cavexml_at_cartography.ch

Garry Petrie wrote:
> For the gourpings advocates, show me a method that does not repeat
> data, but allows the objects to be members of more than one group.

In the following assume all shots listed as "..." are unique
measurements
with no repeats. Any interesting additional attributes on
the group tag (i.e type) I have left for clarity.

I. Nested groupings

<group name="Upper Cave">
 <group name="Entrance Room">
 ... <!-- in Upper cave and in the Entrance --!>
 </group>
 ... <!-- in Upper cave but not in the Entrance --!>
</group>
 ... <!-- somewhere else --!>

II. Repeats of the same groupings

<group name="Upper Cave">
  ... <!-- in Upper Cave--!>
</group>
... <!-- somewhere else --!>
<group name="Cpper Cave">
  ... <!-- in Upper Cave--!>
</group>

III. Groupings that overlap but are not supersets of subsets.

<group name="Upper Cave">
 ... <!-- in Upper Cave--!>
 <group name="Frog Stream">
 .. <!-- in Upper Cave and the Frog Stream --!>
 </group>
 ... <!-- in Upper Cave--!>
</group>
...
<group name="Frog Stream">
  ... <!-- in Frog Stream, but not in Upper Cave--!>
<group>

After discussing this with John Halleck (also on this list discussion,
but more importantly we work about 200 meters from each other),
he showed me how XML can deal with such nestings, including existing
examples in other already defined data XML formats.

I hope the above examples make it obvious enough that data doesn't
have to be repeated to allow the ability to slap some simple
categorization over the shots.

Of course groupings would be optional in any caveXML file.

-Paul


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Thu Mar 01 2001 - 18:00:00 CET