<?xml version="1.0"?>
<!DOCTYPE root [
<!ENTITY foo "abc">
<!ENTITY bar "def">
]>
<root attribute="&foo;">
   <element>&bar;</element>
</root>