From: Michael Lake (mikel_at_speleonics.com.au)
Date: Sun Jan 20 2002 - 02:22:01 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 7631B9D71 for <cavexml-outgoing_at_ethz.ch>; Sun, 20 Jan 2002 03:21:52 +0100 (CET) Received: by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0, from userid 28) id 8C4A19D59; Sun, 20 Jan 2002 03:21:49 +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 76ABC9D71 for <cavexml_at_cartography.ch>; Sun, 20 Jan 2002 03:21:48 +0100 (CET) Received: from iggy.triode.net.au (iggy.triode.net.au [203.63.235.1]) by karmail.ethz.ch (Postfix on SuSE eMail Server 2.0) with ESMTP id 0526A9D13 for <cavexml_at_cartography.ch>; Sun, 20 Jan 2002 03:21:43 +0100 (CET) Received: from speleonics.com.au (mikel_at_dm1-64.triode.net.au [203.63.34.64]) by iggy.triode.net.au (8.11.6/8.11.6) with ESMTP id g0K2K9Z24924 for <cavexml_at_cartography.ch>; Sun, 20 Jan 2002 13:20:09 +1100 Message-ID: <3C4A1BB9.CDAD5231@speleonics.com.au> Date: Sun, 20 Jan 2002 12:22:01 +1100 From: Michael Lake <mikel_at_speleonics.com.au> X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-4GB i686) X-Accept-Language: en To: cavexml_at_cartography.ch Subject: Re: Personnel Element? References: <20020115001143.464CC9C4E_at_karmail.ethz.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cavexml_at_karmail.ethz.ch Precedence: bulk Reply-To: cavexml_at_cartography.ch X-Virus-Scanned: by AMaViS perl-11
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.....
> The field is free form so could use "," or ";" or
This will be common.
> <!ELEMENT Personnel (Person* | PCDATA)>
> This allows the more descriptive first way and ... legacy data.
I agree. That way it will be easier for authors of software to write parsers
that just transform their `free-form persons-field data' in to a single valid
XML element. Later versions of their survey software can implement more detail
once they know that there is an XML container to handle per-person data.
Mike
-- -------------------------------------------------------------------- Michael Lake Active caver, Linux enthusiast and interested in anything technical. Safety Convenor, Australian Speleological Federation Owner, Speleonics (Australia) --------------------------------------------------------------------
This archive was generated by hypermail 2b30 : Thu Jan 31 2002 - 23:00:01 CET