<!-- =====================================================================
  This is the DTD for CicloManiacXML Profiles 1.0.

  The specification for CicloManiacXML Profiles that corresponds to this DTD is available at:

    http://www.ciclomaniac.com/ciclomaniacxml/

  Copyright (c) 2002 RodrySoftware (Rodriquez Marco - marcorod@tin.it), All Rights Reserved.

  For CicloManiac Profiles 1.0:

    URI for the DTD:
      http://www.ciclomaniac.com/ciclomaniacxml/ciclomaniac.dtd
============================================================================= -->

<!-- ==============================================================
     DECLARATIONS CORRESPONDING TO: Document Structure 
     ============================================================== --> 
<!ELEMENT races (race)+>
<!ATTLIST races
	source CDATA #IMPLIED
	ver CDATA #IMPLIED
>
<!ELEMENT race (name,lenght,startHeight,endHeight,city?,province?,region?,state?,
				(phone)*,(mail)*,(web)*,info?,samples)
>
<!ATTLIST race
	idName CDATA #REQUIRED
	type (climb|tour) #REQUIRED	
>
<!ELEMENT name (#PCDATA)>
<!ELEMENT lenght (#PCDATA)>
<!ELEMENT startHeight (#PCDATA)>
<!ELEMENT endHeight (#PCDATA)>
<!ELEMENT city (#PCDATA)>
<!ELEMENT province (#PCDATA)>
<!ELEMENT region (#PCDATA)>
<!ELEMENT state (#PCDATA)>
<!ELEMENT phone (#PCDATA)>
<!ATTLIST phone type (home|office|cell) "cell">
<!ELEMENT mail (#PCDATA)>
<!ELEMENT web (#PCDATA)>
<!ELEMENT info (#PCDATA)>
<!ELEMENT samples (sample)+>
<!ATTLIST samples
	sampleNumber CDATA #REQUIRED
>
<!ELEMENT sample (distance,height,label?)>
<!ATTLIST sample
	number CDATA #REQUIRED
>
<!ELEMENT distance (#PCDATA)>
<!ELEMENT height (#PCDATA)>
<!ELEMENT label (#PCDATA)>