1<?xml version="1.0"?>
2<!DOCTYPE root [
3<!ENTITY foo 'abc'>
4<!ENTITY bar 'def'>
5]>
6<root attribute="&foo;">
7   <element>&bar;</element>
8</root>
9