1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> 2 <!DOCTYPE organization [ 3 <!ELEMENT organization (company*,ids)> 4 <!ELEMENT company (#PCDATA | department | equipment:instance)*> 5 <!ELEMENT ids (id*)> 6 <!ELEMENT id EMPTY> 7 <!ELEMENT department EMPTY> 8 <!ELEMENT equipment:instance EMPTY> 9 10 <!ATTLIST organization id ID #IMPLIED 11 xmlns:equipment CDATA #FIXED "http://namespaces.tksoft.com/equipment/" 12 > 13 <!ATTLIST company id ID #REQUIRED 14 count CDATA #REQUIRED 15 > 16 <!ATTLIST department id ID #REQUIRED 17 > 18 <!ATTLIST equipment:instance id ID #REQUIRED 19 > 20 <!ATTLIST id 21 value IDREF #REQUIRED 22 > 23 ]> 24 <organization> 25 <company id="ca" count="2"> 26 <department id="da"/> 27 <equipment:instance id="ea"/> 28 <equipment:instance id="eb"/> 29 </company> 30 <company id="cb" count="0"/> 31 <company id="cc" count="5"/> 32 <ids> 33 <id value="ca"/> 34 <id value="cb"/> 35 </ids> 36 </organization>