From: Richard Knapp (gyp_caver_at_yahoo.com)
Date: Tue Jan 15 2002 - 00:31:34 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 179519CD2 for <cavexml-outgoing_at_ethz.ch>; Tue, 15 Jan 2002 01:11:51 +0100 (CET) Received: by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0, from userid 28) id 2E3199CC9; Tue, 15 Jan 2002 01:11:48 +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 12F649CD2 for <cavexml_at_cartography.ch>; Tue, 15 Jan 2002 01:11:47 +0100 (CET) Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0) with SMTP id 464CC9C4E for <cavexml_at_cartography.ch>; Tue, 15 Jan 2002 01:11:43 +0100 (CET) Received: from slip-12-64-127-198.mis.prserv.net (HELO Muphin) (12.64.127.198) by smtp.mail.vip.sc5.yahoo.com with SMTP; 14 Jan 2002 23:50:00 -0000 From: "Richard Knapp" <gyp_caver_at_yahoo.com> To: "cavexml_at_cartography.ch" <cavexml_at_cartography.ch> Date: Mon, 14 Jan 2002 18:31:34 -0500 (EST) X-Mailer: PMMail 2.20.2300 for OS/2 Warp 4.5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Personnel Element? Message-Id: <20020115001143.464CC9C4E@karmail.ethz.ch> Sender: owner-cavexml_at_karmail.ethz.ch Precedence: bulk Reply-To: cavexml_at_cartography.ch X-Virus-Scanned: by AMaViS perl-11
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