1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> 2 <!DOCTYPE organization2 [ 3 <!ELEMENT organization2 (company*,ids)> 4 <!ELEMENT company (#PCDATA | department)*> 5 <!ELEMENT ids (id*)> 6 <!ELEMENT id EMPTY> 7 <!ELEMENT department EMPTY> 8 9 <!ATTLIST organization id ID #IMPLIED 10 > 11 <!ATTLIST company id ID #REQUIRED 12 count CDATA #REQUIRED 13 > 14 <!ATTLIST department id ID #REQUIRED 15 > 16 <!ATTLIST id 17 value IDREF #REQUIRED 18 > 19 ]> 20 <organization2> 21 <company id="xca" count="2"> 22 <department id="xda"/> 23 </company> 24 <company id="xcb" count="0"/> 25 <company id="xcc" count="5"/> 26 <ids> 27 <id value="xca"/> 28 <id value="xcb"/> 29 </ids> 30 </organization2>