1<?xml version="1.0"?>
2<!DOCTYPE doc [
3<!ELEMENT doc (src | dest)*>
4<!ELEMENT src EMPTY>
5<!ELEMENT dest EMPTY>
6<!ATTLIST src ref IDREF #IMPLIED>
7<!ATTLIST dest id ID #IMPLIED>
8<!ENTITY dest SYSTEM "dtds/destfoo.ent">
9]>
10<doc>
11 <src ref="foo"/>
12 &dest;
13 <src ref="foo"/>
14</doc>
15