1 <!DOCTYPE doc [ 2 <!ELEMENT doc (#PCDATA | ns:a | ns:b)*> 3 <!ATTLIST doc 4 attr CDATA #REQUIRED 5 xmlns:ns CDATA #IMPLIED> 6 <!ELEMENT a EMPTY> 7 <!ELEMENT b (#PCDATA)> 8 ]> 9 <ns:doc ns:attr="val" xmlns:ns="http://www.example.org/test/"> 10 <ns:a/> 11 <ns:b>first line</ns:b> 12 <ns:b>second line</ns:b> 13 </ns:doc> 14