1<!DOCTYPE ns:doc [
2<!ELEMENT ns:doc (#PCDATA | ns:a | ns:b)*>
3<!ATTLIST ns:doc
4          ns:attr  CDATA #REQUIRED
5          xmlns:ns CDATA #IMPLIED>
6<!ELEMENT ns:a EMPTY>
7<!ELEMENT ns: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