<?xml version="1.0" standalone="no"?>


<!DOCTYPE employees SYSTEM "employees.dtd">

<employees>
   <employee>
      <!-- Employee name is broken into first and last--> 
      <name>
         <first>John</first>
         <last>Doe</last>
      </name>
      <!--This is a comment within the <name> element-->
      <position>Programmer</position>
      <!-- Address is identified by street, city, state, zip -->
      <address>
         <!-- This is another comment -->
         <street>123 Main Street</street>
         <city>Anywhere</city>
         <state>CA</state>
         <zip>92000</zip>
      </address>
      <!-- Phone numbers can include main, home, fax, mobile -->
      <phone>
         <main>(714) 555-1000</main>
         <fax>(714) 555-1001</fax>
      </phone>
   </employee>
</employees>

<!-- The external DTD "employees.dtd"
  		<!ELEMENT employees (employee)>
		<!ELEMENT employee (name, position, address, phone)>
		<!ELEMENT position (#PCDATA)>
		<!ELEMENT name (first*, last*)>
		<!ELEMENT first (#PCDATA)>
		<!ELEMENT last (#PCDATA)>
		<!ELEMENT address (street, city, state, zip)>
		<!ELEMENT street (#PCDATA)>
		<!ELEMENT city (#PCDATA)>
		<!ELEMENT state (#PCDATA)>
		<!ELEMENT zip (#PCDATA)>
		<!ELEMENT phone (main, fax)>		
		<!ELEMENT main (#PCDATA)>
		<!ELEMENT fax (#PCDATA)>
-->

