<!-- AstrologyML DTD Version 0.01

  AstrologyML - Astrology data exchange format based on XML.

  For further information go to

    http://www.AstrologyML.org/

  In order to retrieve the dtd, please take the following
  URL and download the dtd.

    http://www.AstrologyML.org/astrologyml.dtd

  The dtd must be stored in the same directory as the xml file
  in order to parse correctly.


  (+) one or more elements
  (*) zero or more elements
  (?) zero or one element

-->

<!-- Charts -->
<!ELEMENT charts (application?, chart+) >


<!-- Application

     Description of the application that produces the data.
-->
<!ELEMENT application (application_name?,
                       application_version?,
                       company_name?,
                       company_url?)>
  <!-- Name of the application -->
  <!ELEMENT application_name (#PCDATA)>
  <!-- Version of the application -->
  <!ELEMENT application_version (#PCDATA)>
  <!-- Name of the company -->
  <!ELEMENT company_name (#PCDATA)>
  <!-- Link to the homepage of the company -->
  <!ELEMENT company_url (#PCDATA)>


<!-- Chart -->
<!ELEMENT chart (chart_id?,
                 chart_type?,
                 personal,
                 event,
                 memo?)>

  <!ELEMENT chart_id   (#PCDATA)>  <!-- Zur Identifikation des Charts -->
  <!ELEMENT chart_type (#PCDATA)>  <!-- Klassifikation des Charts -->

  <!ELEMENT personal (name,
                      name_first?,
                      gender?)>

    <!ELEMENT name       (#PCDATA)>
    <!ELEMENT name_first (#PCDATA)>
    <!ELEMENT gender     (#PCDATA)> <!-- Geschlecht: male,female,objekt -->



  <!ELEMENT event (jd,
                   date,
                   time,
                   tzc?,
                   dsc?,
                   tz_abbreviation?,
                   country,
                   province?,
                   city,
                   latitude?,
                   longitude?,
                   elevation?,
                   data_rating?,
                   data_source?)>

    <!ELEMENT jd              (#PCDATA)>  <!-- Angabe des Zeitpunkts in JD -->
    <!ELEMENT date            (#PCDATA)>
    <!ELEMENT time            (#PCDATA)>
    <!ELEMENT tzc             (#PCDATA)>  <!-- direkte Zeitzonen-Zeitangabe -->
    <!ELEMENT dsc             (#PCDATA)>  <!-- Sommer-/Winterzeit- oder sonstige Zeitkorrekturen -->
    <!ELEMENT tz_abbreviation (#PCDATA)>  <!-- Abkuerzung der Zeitzone -->
    <!ELEMENT country         (#PCDATA)>
    <!ELEMENT province        (#PCDATA)>
    <!ELEMENT city            (#PCDATA)>
    <!ELEMENT latitude        (#PCDATA)>
    <!ELEMENT longitude       (#PCDATA)>
    <!ELEMENT elevation       (#PCDATA)>
    <!ELEMENT data_rating     (#PCDATA)>  <!-- Qualitaet der Daten -->
    <!ELEMENT data_source     (#PCDATA)>  <!-- Quelle der Daten -->


  <!-- Beliebige Anmerkungen (Text) zum Chart -->
  <!ELEMENT memo (#PCDATA)>

