<?xml version="1.0"?>
<!DOCTYPE book [
<!ELEMENT book (doc)*>
<!ELEMENT doc (isid)*>
<!ELEMENT isid EMPTY>
<!ATTLIST isid myid ID #IMPLIED>
]>
<book>
<doc>
<isid myid="mine"/>
<isid myid="dup"/>
</doc>
<!-- including another XML document with IDs -->
<doc>
<isid myid="dup"/>
<isid myid="foo"/>
<isid myid="bar"/>
</doc>
</book>
