<?xml version="1.0"?> <!DOCTYPE doc [ <!ELEMENT doc (#PCDATA)> <!ENTITY % e SYSTEM "something"> %e; <!ENTITY not "not"> <!ENTITY me "me"> ]> <doc a="do ¬ replace me">and &me; neither</doc>