<!DOCTYPE doc [<!ATTLIST e9 attr CDATA “default”>]> <doc xmlns:foo=“www.bar.org” xml:base=“www.example.org/2002/”>

<e1   />
<e2   ></e2>
<e3    name = "elem3"   id="elem3"    />
<e4    name="elem4"   id="elem4"    ></e4>
<e5 a:attr="out" b:attr="sorted" attr2="all" attr="I'm"
    xmlns:b="http://www.ietf.org"
    xmlns:a="http://www.w3.org"
    xmlns="http://example.org"/>
<e6 xmlns="" test="../baz" xmlns:a="http://www.w3.org">
    <e7 xmlns="http://www.ietf.org">
        <e8 xmlns="" xmlns:a="http://www.w3.org" a:foo="bar">
            <e9 xmlns="" xmlns:a="http://www.ietf.org"/>
        </e8>
    </e7>
</e6>

</doc>