<!-- Complex Elements -->

<!ELEMENT config ( dispatcher, handler+, privileged?, protected?, mime-mapping* )> 

<!ELEMENT dispatcher EMPTY>
<!ATTLIST dispatcher 
	instances CDATA #REQUIRED
>

<!ELEMENT handler (class-name, extension*)>
<!ATTLIST handler 
	default (yes|no) "no"
	instances CDATA #REQUIRED
>

<!ELEMENT privileged (user*)>

<!ELEMENT user EMPTY>
<!ATTLIST user 
	name        CDATA #REQUIRED
	password CDATA #REQUIRED
>

<!ELEMENT protected (directory*)>
<!ATTLIST protected 
	realm CDATA #REQUIRED
>

<!ELEMENT mime-mapping (extension, mime-type)>


<!-- Simple Elements -->

<!ELEMENT class-name (#PCDATA)>

<!ELEMENT extension (#PCDATA)>

<!ELEMENT directory (#PCDATA)>

<!ELEMENT mime-type (#PCDATA)>