1 <?xml version="1.0"?>
   2 <!DOCTYPE note [
   3 <!ELEMENT note    (#PCDATA|to|ar:from|br:from|heading|body)*>
   4 <!ELEMENT to      (#PCDATA)>
   5 <!ELEMENT ar:from    (#PCDATA)>
   6 <!ELEMENT br:from    (#PCDATA)>
   7 <!ELEMENT heading (#PCDATA)>
   8 <!ELEMENT body    (#PCDATA)>
   9 <!ATTLIST note xmlns:ar CDATA #IMPLIED>
  10 <!ATTLIST note xmlns:br CDATA #IMPLIED>
  11 ]>
  12 <note xmlns:ar="http://www.xml.com/books">
  13       xmlns:br="http://www.abc.com">
  14 <to>Tove</to>
  15 <ar:from>Jani</ar:from>
  16 <br:from>Next</br:from>
  17 <heading>Reminder</heading>
  18 <body> weekend!</body>
  19 </note>