At 4:35 AM -0800 3/15/01, Richard Knapp wrote:
>Here's what I've come up with for the DTD...
>
>(Opening the floodgates) Comments?
<snip>
><!-- A person has a name and one or more roles -->
><!ELEMENT Person (Name, Role*)>
>
><!-- The people that worked on this survey. If a Personnel element is
>present, there must
> be one or more Persons defined -->
><!ELEMENT Personnel (Person+)>
I have some survey data lying around which lists names, but not roles. In
addition, in most surveys I have worked on, the roles shift based on
circumstances. For example, the time when the sketcher felt ill and handed
the book off to an instrument person. Or more commonly, when an instrument
person was fooling with a light and a tape person or sketcher grabbed the
instruments for a shot.
For the unknown role, perhaps an empty role is the correct solution making
it zero or more roles. I have never seen these other switches documented
in the book, so I guess CaveXML doesn't have to represent them. :-)
Good Caving - Bill
-------------------------------------------------------------------------
Bill Frantz | Microsoft Outlook, the | Periwinkle -- Consulting
(408)356-8506 | hacker's path to your | 16345 Englewood Ave.
frantz@netcom.com | hard disk. | Los Gatos, CA 95032, USA
This archive was generated by hypermail 2b30 : Mon Apr 02 2001 - 18:00:01 CEST