Revised list of data elements required for Cave Survey Data in XML v0.3 - January 9, 2001

Version 0.3 incorporates feedback received on version 0.2 which was released for comment on January 4, 2001. It adds further detail to some of the lower level elements described in version 0.2. but does not include the extensive commentary delivered with version 0.2. Furthermore version 0.3 incorporates the first attempt to delineate a DTD to describe this format for Cave Survey Data in XML. It is anticipated that this version will be submitted for consideration by the UIS effort to establish an international Cave Data format in XML. Comments or questions regarding this proposal should be emailed to devinkouts@yahoo.com

For those who may be wondering the tag <Tag/> is the equivalent shorthand of <Tag></Tag> and is used where ever possible below for increased brevity.

The DTD statements in the following XML document were created manually. I haven't run them through a validator so I can't guarantee their complete accuracy. If you catch any errors please send me a note at the address above

<?xml version="1.0"?>
<!DOCTYPE CaveSurvey [
<!ELEMENT CaveSurvey (DataFileVersion,CaveName,Comment,Survey?)>
<!ELEMENT DataFileVersion (#PCDATA)>
<!ELEMENT CaveName (#PCDATA)>
<!ELEMENT Comment (#PCDATA)>
<!ELEMENT Survey (SurveyName,Comment*,SurveyDate, SurveyTeam,Declination,Instruments,Shot+)>
<!ELEMENT SurveyDate (Comment*, Day, Month, Year)>
<!ELEMENT Day (#PCDATA)>
<!ELEMENT Month (#PCDATA)>
<!ELEMENT Year (#PCDATA)>
<!ELEMENT SurveyTeam (Member*)>
<!ELEMENT Member (Person,Role*,Comment*)>
<!ELEMENT Person (#PCDATA)>
<!ELEMENT Role (#PCDATA)>
<!ELEMENT Comment (#PCDATA)>
<!ELEMENT Declination (#PCDATA)>
<!ELEMENT Instruments (Comment*,Compass,Clinometer,Tape)>
<!ELEMENT Comment (#PCDATA)>
<!ELEMENT Compass (Correction,SerialNumber,Owner)>
<!ELEMENT Correction (#PCDATA)>
<!ELEMENT SerialNumber (#PCDATA)>
<!ELEMENT Owner (#PCDATA)>
<!ELEMENT Clinometer (Correction,SerialNumber,Owner)>
<!ELEMENT Correction (#PCDATA)>
<!ELEMENT SerialNumber (#PCDATA)>
<!ELEMENT Owner (#PCDATA)>
<!ELEMENT Tape (Correction,SerialNumber,Owner)>
<!ELEMENT Correction (#PCDATA)>
<!ELEMENT SerialNumber (#PCDATA)>
<!ELEMENT Owner (#PCDATA)>
<!ELEMENT Shot(From,To,Length,ForwardAzimuth,ReverseAzimuth, ForwardInclincation,ReverseInclination,FromDepth,ToDepth)>
<!ELEMENT EquivalentStation(CaveName,SurveyName,StationName)>
]>

<CaveSurvey>
       <DataFileVersion> 0.3 </DataFileVersion>
       <CaveName/>
       <Comment/>
       <Survey>
              <SurveyName/>
              <Comment/>
              <SurveyDate>
                     <Comment/>
                     <Day/>
                     <Month/>
                     <Year/>
              </SurveyDate>
              <SurveyTeam>
                     <Member>
                            <Name/>
                            <Role/>
                     </Member>
                     <Member> Data Elements to describe next survey shot </Member>
                     <Comment/>
              </SurveyTeam>
              <Declination/>
              <Instruments>
                     <Comment/>
                     <Compass>
                            <Correction/>
                            <SerialNumber/>
                            <Owner/>
                     </Compass>
                     <Clinometer>
                            <Correction/>
                            <SerialNumber/>
                            <Owner/>
                     </Clinometer>
                     <Tape>
                            <Correction/>
                            <SerialNumber/>
                            <Owner/>
                     </Tape>
              </Instruments>
              <Shot>
                     <From>
                            <StationName/>
                            <Up/>
                            <Down/>
                            <Right/>
                            <Left/>
                            <GeoLocation/>
                            <EquivalentStation>
                                   <CaveName/>
                                   <SurveyName/>
                                   <StationName/>
                            </EquivalentStation>
                     </From>
                     <To>
                            <StationName/>
                            <Up/>
                            <Down/>
                            <Right/>
                            <Left/>
                            <GeoLocation/>
                            <EquivalentStation>
                                   <CaveName/>
                                   <SurveyName/>
                                   <StationName/>
                            </EquivalentStation>
                     </To>
                     <Length/>
                     <ForwardAzimuth/>
                     <ReverseAzimuth/>
                     <ForwardInclination/>
                     <ReverseInclination/>
                     <FromDepth/>
                     <ToDepth/>
              </Shot>
              <Shot> Data Elements to describe next survey shot </Shot>
       </Survey>
       <Survey> Data Elements to describe next survey </Survey>
</CaveSurvey>