1 <?xml version="1.0"?>
2 <!DOCTYPE doc [
3 <!ELEMENT doc (#PCDATA)>
4 <!ENTITY % e SYSTEM "something">
5 <!ENTITY replace "replace">
6 <!ENTITY me "me">
7 %e;
8 ]>
9 <doc a="do &replace; me">and &me; too</doc>