ent12 143 B

12345678
  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>