1 <?xml version="1.0"?> 2 <!DOCTYPE zoo [ 3 <!ELEMENT zoo (cage*)> 4 <!ELEMENT cage (#PCDATA)> 5 <!ATTLIST cage 6 id ID #IMPLIED 7 > 8 ]> 9 <zoo> 10 <cage id="rabbits">Also shows off getElementById which needs the DTD.</cage> 11 </zoo>