<?xml version='1.0' encoding='ISO-8859-1'?>

<!ELEMENT addressbook (person*|company*)>

<!ELEMENT person (name,address,organisation?,contact,birthday?,commentaires*)>
<!ATTLIST person idAl ID #REQUIRED
                 idKab CDATA ''
                 state CDATA 'new'>

<!ELEMENT name ((title?,surname,namepref?,firstname)|PCDATA)>

<!ELEMENT organisation (job?,dpt?,subdpt?,org)>

<!ELEMENT birthday (#PCDATA)>

<!ELEMENT title(#PCDATA)>
<!ELEMENT surname (#PCDATA)>
<!ELEMENT namepref (#PCDATA)>
<!ELEMENT firstname(#PCDATA)>

<!ELEMENT street (#PCDATA)>
<!ELEMENT zip (#PCDATA)>
<!ELEMENT town (#PCDATA)>
<!ELEMENT state (#PCDATA)>
<!ELEMENT country (#PCDATA)>

<!ELEMENT phone (#PCDATA)>
<!ELEMENT fax (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT web (#PCDATA)>

<!ELEMENT org (#PCDATA)>
<!ELEMENT job (#PCDATA)>
<!ELEMENT dpt (#PCDATA)>
<!ELEMENT subdpt (#PCDATA)>

<!ELEMENT company (name,address,contact,commentaires*)>
<!ATTLIST company id CDATA #REQUIRED>

<!--ELEMENT name (#PCDATA)-->

<!ELEMENT activity (#PCDATA)>

<!ELEMENT address (street?,zip?,town?,state?,country?)>

<!ELEMENT contact (phone|fax|email|web)*>

<!ELEMENT comment (#PCDATA)>


