From: Peter MATTHEWS (matthews_at_melbpc.org.au)
Date: Sat Jan 19 2002 - 07:31:12 CET
Return-Path: <owner-cavexml-outgoing_at_ethz.ch> Delivered-To: cavexml-archive_at_cartography.ch Received: from localhost (localhost [127.0.0.1]) by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0) with ESMTP id 1B8689D17 for <cavexml-outgoing_at_ethz.ch>; Sat, 19 Jan 2002 07:37:05 +0100 (CET) Received: by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0, from userid 28) id 9E87B9D35; Sat, 19 Jan 2002 07:37:01 +0100 (CET) Delivered-To: cavexml_at_cartography.ch Received: from localhost (localhost [127.0.0.1]) by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0) with ESMTP id A69AE9CC9 for <cavexml_at_cartography.ch>; Sat, 19 Jan 2002 07:36:58 +0100 (CET) Received: from newemu.melbpc.org.au (newemu.melbpc.org.au [203.12.152.25]) by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0) with ESMTP id 2B1919D29 for <cavexml_at_cartography.ch>; Sat, 19 Jan 2002 07:36:54 +0100 (CET) Received: from peter.melbpc.org.au (a1-28.melbpc.org.au [203.12.158.28]) by newemu.melbpc.org.au (8.9.3+Sun/8.9.3) with ESMTP id RAA11531 for <cavexml_at_cartography.ch>; Sat, 19 Jan 2002 17:33:34 +1100 (EST) Message-Id: <5.1.0.14.1.20020119172048.01d69080@popa.melbpc.org.au> X-Sender: matthews_at_popa.melbpc.org.au X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 19 Jan 2002 17:31:12 +1100 To: cavexml_at_cartography.ch From: Peter MATTHEWS <matthews_at_melbpc.org.au> Subject: Re: Personnel Element? In-Reply-To: <20020115001143.464CC9C4E_at_karmail.ethz.ch> Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-cavexml_at_karmail.ethz.ch Precedence: bulk Reply-To: cavexml_at_cartography.ch X-Virus-Scanned: by AMaViS perl-11
Hi Richard,
I see you are tackling one of the tricky bits here. This was also an area I
had to think a lot about when putting together the ERD diagram and
definitions which I sure hope I can post soon! I think it will help to be
able to discuss these fields in an overall context after I post the overall
diagram. ( Yeah, I know... When? Soon! )
Peter
At 18:31 14-01-02 -0500, Richard Knapp wrote:
>My current DTD has the following elements:
>
><!ELEMENT Person (Role | Comment)*>
><!ATTLIST Person
> name CDATA #IMPLIED
> PID CDATA #IMPLIED>
>
><!ELEMENT Role EMPTY>
><!ATTLIST Role
> job
> (CDATA|Book|Sketch|Tape|Instrument|FrontSight|BackSight|Inventory|Other)
> #IMPLIED>
>
><!ELEMENT Personnel (Person+)>
>
>However while reading in COMPASS data I ran across a problem. There is no
>guaranteed method to split
>up survey team members from the COMPASS data. The field is free form so
>could use "," or ";" or
>nothing between members. Soooo, I kludged this instead:
>
><!ELEMENT Personnel (Person* | PCDATA)>
>
>
><Note text="This may not be correct DTD structure but I'm low on caffine
>right now..."/>
>
>This allows the more descriptive first way and without causing problems
>with legacy COMPASS (and
>possibly other) data.
>
><Survey>
> <Personnel>Mike Lake, Devin Kouts, John Halleck</Personnel>
></Survey>
><Survey>
> <Personnel>
> <Person name="Mike Lake">
> <Role job="Book"/>
> <Role job="Sketch"/>
> </Person>
> <Person name="Devin Kouts">
> <Role job="FrontSight"/>
> <Role job="Inventory"/>
> </Person>
> <Person name="Peter Matthews">
> <Role job="BackSight"/>
> <Role job="Tape"/>
> <Person>
> </Personnel>
></Survey>
>
>
>(As usuall)... Comments?
>
>Oh, FWIW, I've converted a COMPASS file into CaveXML. I don't know what to
>do with it yet and I'm
>still trying to figure out if there will be instances were more than one
>cave will be represented (and
>what to do about it...).
>
> - Richard Knapp
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2b30 : Thu Jan 31 2002 - 23:00:01 CET