<?xml version="1.0"?>
<!DOCTYPE doc [
<!ELEMENT d (p)>
<!ATTLIST d id ID #IMPLIED>
<!ELEMENT p (#PCDATA)>
]>
<doc>
  <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar>
  <d id="id3">Three</a></d>
</doc>